UIDevice State Battery
An enumeration of values indicating the state of the battery.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)] public enum UIDeviceBatteryState
type UIDeviceBatteryState =
The device's battery is currently charging.
The device's battery is at full capacity.
Can not determine the state of the battery.
The device is unplugged.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.