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{}

  1. 0id:
  2. 1attributesType:
  3. 2attributesData:
  4. 3sceneTargets:
  5. 4alertSceneTargets:
  6. 5requester:
  7. 6presentationOptions:
  8. 7contentSources:
  9. 8isEphemeral:
  10. 9isMomentary:
  11. 10isImportant:
  12. 11createdDate:
  13. 12deviceIdentifier:
  14. 13protectionClass:
  15. 14localizedAppName:
  16. 15localizedActivityName: