One Logo Pool Ball
UserNotifications · IOS API REFERENCE

UNNotificationSettings

class · iOS 10.0+ · SDK 27.1

class UNNotificationSettings

Members (15)

get · iOS 10.0+

alertSetting

TypeScript
get alertSetting(): UNNotificationSetting
Swift declaration
var alertSetting: UNNotificationSetting { get }
get · iOS 10.0+

alertStyle

TypeScript
get alertStyle(): UNAlertStyle
Swift declaration
var alertStyle: UNAlertStyle { get }
get · iOS 13.0+

announcementSetting

TypeScript
get announcementSetting(): UNNotificationSetting
Swift declaration
var announcementSetting: UNNotificationSetting { get }
get · iOS 10.0+

authorizationStatus

TypeScript
get authorizationStatus(): UNAuthorizationStatus
Swift declaration
var authorizationStatus: UNAuthorizationStatus { get }
get · iOS 10.0+

badgeSetting

TypeScript
get badgeSetting(): UNNotificationSetting
Swift declaration
var badgeSetting: UNNotificationSetting { get }
get · iOS 10.0+

carPlaySetting

TypeScript
get carPlaySetting(): UNNotificationSetting
Swift declaration
var carPlaySetting: UNNotificationSetting { get }
get · iOS 12.0+

criticalAlertSetting

TypeScript
get criticalAlertSetting(): UNNotificationSetting
Swift declaration
var criticalAlertSetting: UNNotificationSetting { get }
get · iOS 15.0+

directMessagesSetting

TypeScript
get directMessagesSetting(): UNNotificationSetting
Swift declaration
var directMessagesSetting: UNNotificationSetting { get }
get · iOS 10.0+

lockScreenSetting

TypeScript
get lockScreenSetting(): UNNotificationSetting
Swift declaration
var lockScreenSetting: UNNotificationSetting { get }
get · iOS 10.0+

notificationCenterSetting

TypeScript
get notificationCenterSetting(): UNNotificationSetting
Swift declaration
var notificationCenterSetting: UNNotificationSetting { get }
get · iOS 12.0+

providesAppNotificationSettings

TypeScript
get providesAppNotificationSettings(): boolean
Swift declaration
var providesAppNotificationSettings: Bool { get }
get · iOS 15.0+

scheduledDeliverySetting

TypeScript
get scheduledDeliverySetting(): UNNotificationSetting
Swift declaration
var scheduledDeliverySetting: UNNotificationSetting { get }
get · iOS 11.0+

showPreviewsSetting

TypeScript
get showPreviewsSetting(): UNShowPreviewsSetting
Swift declaration
var showPreviewsSetting: UNShowPreviewsSetting { get }
get · iOS 10.0+

soundSetting

TypeScript
get soundSetting(): UNNotificationSetting
Swift declaration
var soundSetting: UNNotificationSetting { get }
get · iOS 15.0+

timeSensitiveSetting

TypeScript
get timeSensitiveSetting(): UNNotificationSetting
Swift declaration
var timeSensitiveSetting: UNNotificationSetting { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UNNotificationSettings.init()

inherited init: clang: 'init' is unavailable

All UserNotifications types →