Share via


Headset.TryGetBatteryReport Method

Definition

Gets information about the headset's current battery state.

public:
 virtual BatteryReport ^ TryGetBatteryReport() = TryGetBatteryReport;
BatteryReport TryGetBatteryReport();
public BatteryReport TryGetBatteryReport();
function tryGetBatteryReport()
Public Function TryGetBatteryReport () As BatteryReport

Returns

Information about the headset's current battery state.

Implements

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to

See also