10 references to BatteryPowerSource
Microsoft.Maui.Essentials (10)
Battery\Battery.ios.watchos.cs (4)
112
public
BatteryPowerSource
PowerSource
124
return
BatteryPowerSource
.AC;
126
return
BatteryPowerSource
.Battery;
128
return
BatteryPowerSource
.Unknown;
Battery\Battery.shared.cs (6)
31
BatteryPowerSource
PowerSource { get; }
68
public static
BatteryPowerSource
PowerSource => Default.PowerSource;
146
static
BatteryPowerSource
currentSource;
156
void OnBatteryInfoChanged(double level, BatteryState state,
BatteryPowerSource
source)
252
public BatteryInfoChangedEventArgs(double level, BatteryState state,
BatteryPowerSource
source)
272
public
BatteryPowerSource
PowerSource { get; }