OnRestartRequiredReason enum
The reason that the event is being dispatched. 'app_update' is used when the restart is needed because the application is updated to a newer version. 'os_update' is used when the restart is needed because the browser/OS is updated to a newer version. 'periodic' is used when the system runs for more than the permitted uptime set in the enterprise policy.
Values
- appUpdate → const OnRestartRequiredReason
-
Specifies the event reason as an update to the app.
const OnRestartRequiredReason('app_update')
- osUpdate → const OnRestartRequiredReason
-
Specifies the event reason as an update to the operating system.
const OnRestartRequiredReason('os_update')
- periodic → const OnRestartRequiredReason
-
Specifies the event reason as a periodic restart of the app.
const OnRestartRequiredReason('periodic')
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
- toJS → String
-
no setter
- value → String
-
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
Static Methods
-
fromJS(
String value) → OnRestartRequiredReason
Constants
-
values
→ const List<
OnRestartRequiredReason> - A constant List of the values in this enum, in order of their declaration.