UNNotificationSettings class

The object for reading notification-related settings and the authorization status of your app.

See the Apple documentation for more information

Constructors

UNNotificationSettings({UNAuthorizationStatus? authorizationStatus, UNNotificationSetting? soundSetting, UNNotificationSetting? badgeSetting, UNNotificationSetting? alertSetting, UNNotificationSetting? notificationCenterSetting, UNNotificationSetting? lockScreenSetting, UNNotificationSetting? carPlaySetting, UNAlertStyle? alertStyle, UNShowPreviewsSetting? showPreviewsSetting, UNNotificationSetting? criticalAlertSetting, bool? providesAppNotificationSettings, UNNotificationSetting? announcementSetting})

Properties

alertSetting ↔ UNNotificationSetting?
getter/setter pair
alertStyle ↔ UNAlertStyle?
getter/setter pair
announcementSetting ↔ UNNotificationSetting?
getter/setter pair
authorizationStatus ↔ UNAuthorizationStatus?
getter/setter pair
badgeSetting ↔ UNNotificationSetting?
getter/setter pair
carPlaySetting ↔ UNNotificationSetting?
getter/setter pair
criticalAlertSetting ↔ UNNotificationSetting?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
lockScreenSetting ↔ UNNotificationSetting?
getter/setter pair
notificationCenterSetting ↔ UNNotificationSetting?
getter/setter pair
providesAppNotificationSettings ↔ bool?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showPreviewsSetting ↔ UNShowPreviewsSetting?
getter/setter pair
soundSetting ↔ UNNotificationSetting?
getter/setter pair

Methods

encode() → Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

decode(Object result) → UNNotificationSettings