SwiftinitActivityKitActivityKit.ActivityDescriptor
init
ActivityKit.ActivityDescriptor.init(id: String, attributesType: ActivityKit.ActivityAttributesType, attributesData: Foundation.Data, sceneTargets: [ActivityKit.ActivityPresentationOptions.ActivityPresentationDestination : ActivityKit.SceneTarget], alertSceneTargets: [ActivityKit.ActivityPresentationOptions.ActivityPresentationDestination : ActivityKit.SceneTarget], requester: ActivityKit.ProcessDescriptor, presentationOptions: ActivityKit.ActivityPresentationOptions, contentSources: [ActivityKit.ActivityContentSource], isEphemeral: Bool, isMomentary: Bool, isImportant: Bool, createdDate: Foundation.Date, deviceIdentifier: ActivityKit.DeviceIdentifier, protectionClass: ActivityKit.ActivityProtectionClass?, localizedAppName: String?, localizedActivityName: String?) -> ActivityKit.ActivityDescriptor
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0id:structSwift.String
- 1attributesType:
- 2attributesData:structFoundation.Data
- 3sceneTargets:
- 4alertSceneTargets:
- 5requester:
- 6presentationOptions:
- 7contentSources:structSwift.Array
- 8isEphemeral:structSwift.Bool
- 9isMomentary:structSwift.Bool
- 10isImportant:structSwift.Bool
- 11createdDate:structFoundation.Date
- 12deviceIdentifier:
- 13protectionClass:
- 14localizedAppName:enumSwift.Optional
- 15localizedActivityName:enumSwift.Optional