Class BatteryChangedEventArgs
Arguments to pass to event handlers.
Inherited Members
Namespace: Evergine.Common.Features.Battery
Assembly: Evergine.Common.dll
Syntax
public class BatteryChangedEventArgs : EventArgs
Properties
PowerSource
Gets or sets the source of power.
Declaration
public PowerSource PowerSource { get; set; }
Property Value
Type | Description |
---|---|
PowerSource |
RemainingChargePercent
Gets or sets the remaining battery charge percent.
Declaration
public int RemainingChargePercent { get; set; }
Property Value
Type | Description |
---|---|
int |
Status
Gets or sets the current status of the battery.
Declaration
public BatteryStatus Status { get; set; }
Property Value
Type | Description |
---|---|
BatteryStatus |