BacklightMode
public enum BacklightMode : UInt8
extension BacklightMode: FitFieldCodeable
FIT Backlight Mode
-
Off
Declaration
Swift
case off = 0 -
Manual
Declaration
Swift
case manual = 1 -
Key and Messages
Declaration
Swift
case keyMessages = 2 -
Auto Brightness
Declaration
Swift
case autoBrightness = 3 -
Smart Notifications
Declaration
Swift
case smartNotifications = 4 -
Key and Messages Night
Declaration
Swift
case keyMessagesNight = 5 -
Key and Messages and Smart Notifications
Declaration
Swift
case keyMessagesSmartNotifications = 6 -
Invalid
Declaration
Swift
case invalid = 255
-
Encode Into Data
Declaration
Swift
public func encode(base: BaseTypeData) -> Data?Parameters
baseBaseTypeData
-
Decode FIT Field
Declaration
Swift
public static func decode<T>(type: T.Type, data: Data, base: BaseTypeData, arch: Endian) -> T?Parameters
typeType of Field
dataData to Decode
baseBaseTypeData
archEndian
Return Value
Decoded Value