Dela via


UINavigationController.TryGetBatteryReport Method

Definition

Gets information about the UI navigation 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 UI navigation controller'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