One Logo Pool Ball
UserNotifications · IOS API REFERENCE

UNNotificationRequest

class · iOS 10.0+ · SDK 27.1

class UNNotificationRequest

Members (4)

init · iOS 10.0+

init

TypeScript
static init(identifier: string, content: UNNotificationContent, trigger?: (UNNotificationTrigger) | null): UNNotificationRequest
Swift declaration
convenience init(identifier: String, content: UNNotificationContent, trigger: UNNotificationTrigger?)
get · iOS 10.0+

content

TypeScript
get content(): UNNotificationContent
Swift declaration
@NSCopying var content: UNNotificationContent { get }
get · iOS 10.0+

identifier

TypeScript
get identifier(): string
Swift declaration
var identifier: String { get }
get · iOS 10.0+

trigger

TypeScript
get 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 →