AndroidScheduleMode enum
Used to specify how notifications should be scheduled on Android.
This leverages the use of alarms to schedule notifications as described at https://developer.android.com/training/scheduling/alarms
Values
- alarmClock → const AndroidScheduleMode
-
Used to specify that the notification should be scheduled to be shown at the exact time specified AND will execute whilst device is in low-power idle mode. Requires SCHEDULE_EXACT_ALARM permission.
- exact → const AndroidScheduleMode
-
Used to specify that the notification should be scheduled to be shown at the exact time specified but may not execute whilst device is in low-power idle mode.
- exactAllowWhileIdle → const AndroidScheduleMode
-
Used to specify that the notification should be scheduled to be shown at the exact time specified and will execute whilst device is in low-power idle mode.
- inexact → const AndroidScheduleMode
-
Used to specify that the notification should be scheduled to be shown at at roughly specified time but may not execute whilst device is in low-power idle mode.
- inexactAllowWhileIdle → const AndroidScheduleMode
-
Used to specify that the notification should be scheduled to be shown at at roughly specified time and will execute whilst device is in low-power idle mode.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
AndroidScheduleMode> - A constant List of the values in this enum, in order of their declaration.