ArcadeStick.TryGetBatteryReport ArcadeStick.TryGetBatteryReport ArcadeStick.TryGetBatteryReport ArcadeStick.TryGetBatteryReport ArcadeStick.TryGetBatteryReport Method

Definition

Gets information about the arcade stick's current battery state.

public : BatteryReport TryGetBatteryReport()
BatteryReport TryGetBatteryReport() const;
public BatteryReport TryGetBatteryReport()
Public Function TryGetBatteryReport() As BatteryReport
var batteryReport = arcadeStick.tryGetBatteryReport();

Returns

Information about the arcade stick's current battery state.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

See also

  • T:Windows.Devices.Power.BatteryReport