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.