CGA_Bluetooth_Service_CurrentTime
public class CGA_Bluetooth_Service_CurrentTime : CGA_Bluetooth_Service
This adds some specialized accessors.
-
Declaration
Swift
public var currentLocalTime: Date? { get }
Return Value
The Current Time Characteristic value, as a Date instance, at the local time/date.
-
Declaration
Swift
public var currentUTCTime: Date? { get }
Return Value
The Current Time Characteristic value, as a Date instance, at the UTC time/date.
-
Declaration
Swift
public var timeSinceUNIXEpochInSeconds: TimeInterval? { get }
Return Value
The number of seconds from the UNIX Epoch that the local time is at.
-
Declaration
Swift
public var offsetFromUTCInSeconds: TimeInterval? { get }
Return Value
The number of seconds from UTC that the current local time is at.
-
Declaration
Swift
public var utcTimeSinceUNIXEpochInSeconds: TimeInterval? { get }
Return Value
The number of seconds from the UNIX Epoch that the UTC time is at.
-
This returns a unique GATT UUID String for the Service.
Declaration
Swift
internal override class var uuid: String { get }