WorkoutEquipment
public enum WorkoutEquipment : UInt8
extension WorkoutEquipment: FitFieldCodeable
Workout Equipment
-
none
Declaration
Swift
case none = 0
-
Swim Fins
Declaration
Swift
case swimFins = 1
-
Swim Kickboard
Declaration
Swift
case swimKickboard = 2
-
Swim Paddles
Declaration
Swift
case swimPaddles = 3
-
Swim Pull Bouy
Declaration
Swift
case swimPullBouy = 4
-
Swim Snorkel
Declaration
Swift
case swimSnorkel = 5
-
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