Class BatteryInfo.States
Power supply status.
Inheritance
System.Object
BatteryInfo.States
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class States : Enum
Fields
BatteryCharging
Power supply is connected and battery is charging.
Declaration
public const BatteryInfo.States BatteryCharging
Field Value
BatteryInfo.States
|
BatteryDischarging
Device is running on a battery.
Declaration
public const BatteryInfo.States BatteryDischarging
Field Value
BatteryInfo.States
|
Connected
Device is connected to the stable power supply (AC).
Declaration
public const BatteryInfo.States Connected
Field Value
BatteryInfo.States
|
Unknown
value__
Declaration
public int value__
Field Value
System.Int32
|