An activity's category, such as Entertainment or Social.
Members (3)
get · iOS 15.0+
localizedDisplayName
TypeScript
get localizedDisplayName(): (string) | null
Swift declaration
let localizedDisplayName: String?
A localized display name for the category.
In an extension that provides shield configurations, this property provides the category's name.
When you access this property outside that extension, the value is `nil`.
See `ShieldConfigurationDataSource` in the `ManagedSettingsUI` framework for more information.
get · iOS 15.0+
token
TypeScript
get token(): (Token<ActivityCategory>) | null
Swift declaration
let token: ActivityCategoryToken?
An opaque representation of a category of activities.