SpatialInteractionController.TryGetBatteryReport Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets information about the motion controller'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 motion controller's current battery state, if available; otherwise, null.
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|