UserNotifications · IOS API REFERENCE
UNNotificationRequest
class · iOS 10.0+ · SDK 27.1
class UNNotificationRequest
Members (4)
init · iOS 10.0+init
TypeScriptstatic init(identifier: string, content: UNNotificationContent, trigger?: (UNNotificationTrigger) | null): UNNotificationRequest
Swift declarationconvenience init(identifier: String, content: UNNotificationContent, trigger: UNNotificationTrigger?)
get · iOS 10.0+content
TypeScriptget content(): UNNotificationContent
Swift declaration@NSCopying var content: UNNotificationContent { get }
get · iOS 10.0+identifier
TypeScriptget identifier(): string
Swift declarationvar identifier: String { get }
get · iOS 10.0+trigger
TypeScriptget trigger(): (UNNotificationTrigger) | null
Swift declaration@NSCopying var trigger: UNNotificationTrigger? { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UNNotificationRequest.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All UserNotifications types →