MPushNotificationPermission enum

Current status for the notification permission

Inheritance

Constructors

MPushNotificationPermission()
const

Values

granted → const MPushNotificationPermission

Notification permission has been granted.

denied → const MPushNotificationPermission

Notification permission has been denied.

undefined → const MPushNotificationPermission

Notification permission is undefined.

provisional → const MPushNotificationPermission

The application is provisionally authorized to post noninterruptive user notifications, available only on iOS.

ephemeral → const MPushNotificationPermission

The app is authorized to schedule or receive notifications for a limited amount of time, available only on iOS.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<MPushNotificationPermission>
A constant List of the values in this enum, in order of their declaration.