AnalogWatchfaceLayout
public enum AnalogWatchfaceLayout : UInt8, WatchfaceLayout
extension AnalogWatchfaceLayout: FitFieldCodeable
Analog Watchface Layout
-
Minimal
Declaration
Swift
case minimal = 0
-
Traditional
Declaration
Swift
case traditional = 1
-
Modern
Declaration
Swift
case modern = 2
-
Invalid
Declaration
Swift
case invalid = 255
-
Encode Into Data
Declaration
Swift
public func encode(base: BaseTypeData) -> Data?
Parameters
base
BaseTypeData
-
Decode FIT Field
Declaration
Swift
public static func decode<T>(type: T.Type, data: Data, base: BaseTypeData, arch: Endian) -> T?
Parameters
type
Type of Field
data
Data to Decode
base
BaseTypeData
arch
Endian
Return Value
Decoded Value