CGA_Bluetooth_Characteristic_CurrentTime

public class CGA_Bluetooth_Characteristic_CurrentTime : CGA_Bluetooth_Characteristic

This adds a specialized accessor to the Current Time Characteristic.

  • Declaration

    Swift

    public var currentTime: Date? { get }

    Return Value

    the current time, as a Date instance, or nil.

  • Declaration

    Swift

    public var timeSinceUNIXEpochInSeconds: TimeInterval? { get }

    Return Value

    the date, as a standard UNIX epoch offset in seconds, or nil

  • Declaration

    Swift

    public override var stringValue: String? { get }

    Return Value

    The standard UNIX epoch offset in seconds, as a String.

  • This returns a unique GATT UUID String for the Characteristic.

    Declaration

    Swift

    public override class var uuid: String { get }