BatteryPowerSource Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates power sources with which the device and battery can be powered or charged.
public enum class BatteryPowerSource
public enum BatteryPowerSource
type BatteryPowerSource =
Public Enum BatteryPowerSource
- Inheritance
-
BatteryPowerSource
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | Power source cannot be determined. |
Battery | 1 | Power source is the battery and is currently not being charged. |
AC | 2 | Power source is an AC Charger. |
Usb | 3 | Power source is a USB port. |
Wireless | 4 | Power source is wireless. |
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.