ActivityMetadata
public struct ActivityMetadata
Action inputs that have per-instance metadata applicable to NSUserActivity
can
conform to ActivityMetadataRepresentable
and the metadata they return of this type
will be automatically used by the Activities
feature to register the activity and
an implicit Siri Shortcut if so desired.
-
Undocumented
Declaration
Swift
public internal(set) var title: String?
-
Undocumented
Declaration
Swift
public internal(set) var subtitle: String?
-
Set to a thumbnail to show when displaying this activity
Declaration
Swift
public internal(set) var thumbnail: FlintImage?
-
Set to thumbnail data to show when displaying this activity
Declaration
Swift
public internal(set) var thumbnailData: Data?
-
Set to URL pointing at local thumbnail data to show when displaying this activity
Declaration
Swift
public internal(set) var thumbnailURL: URL?
-
Undocumented
Declaration
Swift
public internal(set) var keywords: Set<String>?
-
Undocumented
Declaration
Swift
public internal(set) var searchAttributes: CSSearchableItemAttributeSet?
-
Undocumented
Declaration
Swift
public static func build(_ block: (_ builder: ActivityMetadataBuilder) -> ()) -> ActivityMetadata