UIKit.UIDeviceBatteryState Enumeration
An enumeration of values indicating the state of the battery.

Syntax

[ObjCRuntime.Native]
public enum UIDeviceBatteryState

Remarks

This is a qualitative description of the battery state (e.g., UIDeviceBatteryState.Charging). For a quantitative view of battery charge level, use UIDevice.BatteryLevel.

Members

Member NameDescription
Charging
Full
UnknownCan not determine the state of the battery.
Unplugged

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0