Enabled
struct Enabled : OptionSet
extension DeviceSettingsMessage.Enabled: FitFieldCodeable
Enabled
-
Declaration
Swift
public let rawValue: UInt16
-
Declaration
Swift
public init(rawValue: UInt16)
-
One
Declaration
Swift
public static let one: DeviceSettingsMessage.Enabled
-
Two
Declaration
Swift
public static let two: DeviceSettingsMessage.Enabled
-
Three
Declaration
Swift
public static let three: DeviceSettingsMessage.Enabled
-
Four
Declaration
Swift
public static let four: DeviceSettingsMessage.Enabled
-
Five
Declaration
Swift
public static let five: DeviceSettingsMessage.Enabled
-
Six
Declaration
Swift
public static let six: DeviceSettingsMessage.Enabled
-
Seven
Declaration
Swift
public static let seven: DeviceSettingsMessage.Enabled
-
Eight
Declaration
Swift
public static let eight: DeviceSettingsMessage.Enabled
-
Nine
Declaration
Swift
public static let nine: DeviceSettingsMessage.Enabled
-
Ten
Declaration
Swift
public static let ten: DeviceSettingsMessage.Enabled
-
Eleven
Declaration
Swift
public static let eleven: DeviceSettingsMessage.Enabled
-
Twelve
Declaration
Swift
public static let twelve: DeviceSettingsMessage.Enabled
-
Thirteen
Declaration
Swift
public static let thirteen: DeviceSettingsMessage.Enabled
-
Fourteen
Declaration
Swift
public static let fourteen: DeviceSettingsMessage.Enabled
-
Fifteen
Declaration
Swift
public static let fifteen: DeviceSettingsMessage.Enabled
-
Sixteen
Declaration
Swift
public static let sixteen: DeviceSettingsMessage.Enabled
-
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