UserNotifications · IOS API REFERENCE
UNNotificationCategory
class · iOS 10.0+ · SDK 27.1
class UNNotificationCategory
Members (9)
init · iOS 12.0+init
TypeScriptstatic initIdentifierActionsIntentIdentifiersHiddenPreviewsBodyPlaceholderCategorySummaryFormatOptions(identifier: string, actions: Array<UNNotificationAction>, intentIdentifiers: Array<string>, hiddenPreviewsBodyPlaceholder?: (string) | null, categorySummaryFormat?: (string) | null, options?: UNNotificationCategoryOptions): UNNotificationCategory
Swift declarationconvenience init(identifier: String, actions: [UNNotificationAction], intentIdentifiers: [String], hiddenPreviewsBodyPlaceholder: String?, categorySummaryFormat: String?, options: UNNotificationCategoryOptions = [])
init · iOS 11.0+init
TypeScriptstatic initIdentifierActionsIntentIdentifiersHiddenPreviewsBodyPlaceholderOptions(identifier: string, actions: Array<UNNotificationAction>, intentIdentifiers: Array<string>, hiddenPreviewsBodyPlaceholder: string, options?: UNNotificationCategoryOptions): UNNotificationCategory
Swift declarationconvenience init(identifier: String, actions: [UNNotificationAction], intentIdentifiers: [String], hiddenPreviewsBodyPlaceholder: String, options: UNNotificationCategoryOptions = [])
init · iOS 10.0+init
TypeScriptstatic initIdentifierActionsIntentIdentifiersOptions(identifier: string, actions: Array<UNNotificationAction>, intentIdentifiers: Array<string>, options?: UNNotificationCategoryOptions): UNNotificationCategory
Swift declarationconvenience init(identifier: String, actions: [UNNotificationAction], intentIdentifiers: [String], options: UNNotificationCategoryOptions = [])
get · iOS 10.0+actions
TypeScriptget actions(): Array<UNNotificationAction>
Swift declarationvar actions: [UNNotificationAction] { get }
get · iOS 12.0+categorySummaryFormat
TypeScriptget categorySummaryFormat(): string
Swift declarationvar categorySummaryFormat: String { get }
get · iOS 11.0+hiddenPreviewsBodyPlaceholder
TypeScriptget hiddenPreviewsBodyPlaceholder(): string
Swift declarationvar hiddenPreviewsBodyPlaceholder: String { get }
get · iOS 10.0+identifier
TypeScriptget identifier(): string
Swift declarationvar identifier: String { get }
get · iOS 10.0+intentIdentifiers
TypeScriptget intentIdentifiers(): Array<string>
Swift declarationvar intentIdentifiers: [String] { get }
get · iOS 10.0+options
TypeScriptget options(): UNNotificationCategoryOptions
Swift declarationvar options: UNNotificationCategoryOptions { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UNNotificationCategory.init()
inherited init: cannot prove legal (class declares 3 custom initializers)
All UserNotifications types →