NotificationSettings class

Represents the devices notification settings.

Constructors

NotificationSettings({required AppleNotificationSetting alert, required AppleNotificationSetting announcement, required AuthorizationStatus authorizationStatus, required AppleNotificationSetting badge, required AppleNotificationSetting carPlay, required AppleNotificationSetting lockScreen, required AppleNotificationSetting notificationCenter, required AppleShowPreviewSetting showPreviews, required AppleNotificationSetting timeSensitive, required AppleNotificationSetting criticalAlert, required AppleNotificationSetting sound})
const

Properties

alert AppleNotificationSetting
Whether or not messages containing a notification will alert the user.
final
announcement AppleNotificationSetting
Whether or not messages containing a notification be announced to the user via 3rd party services such as Siri.
final
authorizationStatus AuthorizationStatus
The overall notification authorization status for the user.
final
badge AppleNotificationSetting
Whether or not messages containing a notification can update the application badge.
final
carPlay AppleNotificationSetting
Whether or not messages containing a notification will be displayed in a CarPlay environment.
final
criticalAlert AppleNotificationSetting
Whether or not "critical alerts" are permitted, i.e., alerts that will be shown as highest priority, overriding the phone's focus and mute settings.
final
hashCode int
The hash code for this object.
no setterinherited
lockScreen AppleNotificationSetting
Whether or not messages containing a notification will be displayed on the device lock screen.
final
notificationCenter AppleNotificationSetting
Whether or not messages containing a notification will be displayed in the device notification center.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showPreviews AppleShowPreviewSetting
Whether or not messages containing a notification can displayed a previewed version to users.
final
sound AppleNotificationSetting
Whether or not messages containing a notification will trigger a sound.
final
timeSensitive AppleNotificationSetting
The setting that indicates the system treats the notification as time-sensitive.
final

Methods

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