CGA_Bluetooth_Service_Battery
public class CGA_Bluetooth_Service_Battery : CGA_Bluetooth_Service
This adds some specialized accessors.
-
Declaration
Swift
public var batteryLevel: Int? { get }
Return Value
0-100 (percentage of battery), or nil.
-
This returns a unique GATT UUID String for the Service.
Declaration
Swift
public override class var uuid: String { get }