Class GCDeviceBattery

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class GCDeviceBattery
extends NSObject
Since:
Available in iOS 14.0 and later.
  • Constructor Details

    • GCDeviceBattery

      protected GCDeviceBattery()
    • GCDeviceBattery

      protected GCDeviceBattery​(NSObject.Handle h, long handle)
    • GCDeviceBattery

      protected GCDeviceBattery​(NSObject.SkipInit skipInit)
  • Method Details

    • getBatteryLevel

      public float getBatteryLevel()
    • getBatteryState

      public GCDeviceBatteryState getBatteryState()