SwiftclassAppIntentsServices
class AppIntentsServices.Instrumentation.Activity
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Identifiable
Members 38
- deinit
deinit - field
let _segments: Synchronization.Mutex<[AppIntentsServices.Instrumentation.Segment]> - field
let basePrefix: String?+0x10 - field
let completed: Synchronization.Mutex<Bool> - field
let completionHandlers: Synchronization.Mutex<[@Sendable () -> ()]> - field
let emitTailspinThreshold: Duration? - field
let logPrefix: String - field
let logUponEntering: (@Sendable () -> String)? - field
let logUponLeaving: (@Sendable (A) -> String)? - field
let logUponThrowing: (@Sendable (Error) -> String)? - field
let logger: os.Logger - field
let name: StaticString - field
let nwActivity: AppIntentsServices.NWActivityProtocol? - field
let powerLogId: Int? - field
let requestMetadata: AppIntentsServices.RequestMetadata - field
let signpostID: os.OSSignpostID - field
var signpostInterval: os.OSSignpostIntervalState? - field
let signposter: os.OSSignposter - field
var startedAt: ContinuousClock.Instant? - field
var telemetry: [String : Any] - field
let timeout: Duration? - func
addCompletionHandler(@Sendable () -> ()) -> () - func
addDeviceDiscoveryMetrics(devicePredicate: AppIntentsServices.IntentsServices.DevicePredicate) -> () - func
addFetchAppDescriptionMetrics(app: AppIntentsServices.AppIdentifier) -> () - func
addFetchFileChunkMetrics(chunkSize: UInt) -> () - func
addFetchOptionsForActionMetrics(intent: AppIntentsServices.AppIntentSpecification, parameterIdentifier: String, hasSearchTerm: Bool) -> () - func
addFetchValueForDeferredPropertyMetrics(specification: AppIntentsServices.DeferredEntityPropertySpecification) -> () - func
addPerformAppIntentMetrics(specification: AppIntentsServices.AppIntentSpecification) -> () - func
addPerformQueryMetrics(app: AppIntentsServices.AppIdentifier, specification: AppIntentsServices.QuerySpecification, resultCount: Int) -> () - func
addSegment(AppIntentsServices.Instrumentation.Segment) -> () - func
appendTelemetry([String : Sendable]) -> () - func
beginSegment(StaticString) -> AppIntentsServices.Instrumentation.Segment.Handle - func
cancelled<A where A1: Error>(error: A1) -> () - func
recordSegment(name: String, machTimeStart: UInt64, signpostInterval: os.OSSignpostIntervalState, signpostName: StaticString) -> () - typealias
typealias ID = Swift.String - var
final var id: String { get } - var
final var leafActivity: Network.NWActivity? { get } - var
final var segments: [AppIntentsServices.Instrumentation.Segment] { get }
Header
class AppIntentsServices.Instrumentation.Activity<A> { let basePrefix: Swift.String? let completed: Synchronization.Mutex<Swift.Bool> let completionHandlers: Synchronization.Mutex<[@Sendable () -> ()]> let emitTailspinThreshold: Swift.Duration? let logger: os.Logger let logUponEntering: (@Sendable () -> Swift.String)? let logUponLeaving: (@Sendable (_: A) -> Swift.String)? let logUponThrowing: (@Sendable (_: any Swift.Error) -> Swift.String)? let name: Swift.StaticString let nwActivity: (any AppIntentsServices.NWActivityProtocol)? let powerLogId: Swift.Int? let _segments: Synchronization.Mutex<[AppIntentsServices.Instrumentation.Segment]> var signpostInterval: os.OSSignpostIntervalState? final var startedAt: Swift.ContinuousClock.Instant? var telemetry: [Swift.String : Any] let timeout: Swift.Duration? let logPrefix: Swift.String let requestMetadata: AppIntentsServices.RequestMetadata let signposter: os.OSSignposter let signpostID: os.OSSignpostID final var id: Swift.String { get } final var leafActivity: Network.NWActivity? { get } final var segments: [AppIntentsServices.Instrumentation.Segment] { get } final func addPerformAppIntentMetrics(specification: AppIntentsServices.AppIntentSpecification) final func addFetchAppDescriptionMetrics(app: AppIntentsServices.AppIdentifier) final func addSegment(_: AppIntentsServices.Instrumentation.Segment) final func beginSegment(_: Swift.StaticString) -> AppIntentsServices.Instrumentation.Segment.Handle final func recordSegment(name: Swift.String, machTimeStart: Swift.UInt64, signpostInterval: os.OSSignpostIntervalState, signpostName: Swift.StaticString) final func appendTelemetry(_: [Swift.String : any Swift.Sendable]) final func addCompletionHandler(_: @escaping @Sendable () -> ()) final func addPerformQueryMetrics(app: AppIntentsServices.AppIdentifier, specification: AppIntentsServices.QuerySpecification, resultCount: Swift.Int) final func addFetchFileChunkMetrics(chunkSize: Swift.UInt) final func addDeviceDiscoveryMetrics(devicePredicate: AppIntentsServices.IntentsServices.DevicePredicate) final func addFetchOptionsForActionMetrics(intent: AppIntentsServices.AppIntentSpecification, parameterIdentifier: Swift.String, hasSearchTerm: Swift.Bool) final func addFetchValueForDeferredPropertyMetrics(specification: AppIntentsServices.DeferredEntityPropertySpecification) final func cancelled<A1>(error: A1) where A1: Swift.Error deinit }