PowerSetting enum

Power setting GUIDs identify power change events. An application should register for each power change event that might impact its behavior. Notification is sent each time a setting changes.

For more information, see the Power Setting GUIDs

Inheritance
Available extensions

Values

GUID_CONSOLE_DISPLAY_STATE → const PowerSetting

The current monitor's display state has changed.

const PowerSetting('{6FE69556-704A-47A0-8F24-C28D936FDA47}')
GUID_SESSION_DISPLAY_STATUS → const PowerSetting

The display associated with the application's session has been powered on or off.

const PowerSetting('{2B84C20E-AD23-4DDF-93DB-05FFBD7EFCA5}')
GUID_SESSION_USER_PRESENCE → const PowerSetting

The user status associated with the application's session has changed.

const PowerSetting('{3C0F4548-C03F-4C4D-B9F2-237EDE686376}')

Properties

guid String
Power setting GUID
final
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

Static Methods

fromGUID(String guid) PowerSetting
Converts a GUID string to a PowerSetting.

Constants

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