One Logo Pool Ball
ManagedSettings · IOS API REFERENCE

ActivityCategory

struct · iOS 15.0+ · SDK 27.1

struct ActivityCategory

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.

init · iOS 15.0+

init

TypeScript
static init(token: Token<ActivityCategory>): ActivityCategory
Swift declaration
init(token: ActivityCategoryToken)

Initializes the representation with the provided token.

Skipped declarations

No declarations were skipped in this snapshot.

All ManagedSettings types →