Share via


PowerNotification Enum

Definition

Enumerates the possible states of power notification for the current device.

public enum PowerNotification
type PowerNotification = 
Public Enum PowerNotification
Inheritance
PowerNotification

Fields

Name Value Description
Disabled 0

The service object will not provide power notifications to the application. No power notification StatusUpdateEvent events will be raised, and the PowerState property may not be set.

Enabled 1

The service object will raise power notification StatusUpdateEvent events and update the PowerState property, beginning when the DeviceEnabled property is set to true. The level of functionality available depends on the value of the CapPowerReporting property.

Applies to