ExerciseCategory
public enum ExerciseCategory : UInt16
extension ExerciseCategory: FitFieldCodeable
Exercise Category
-
Bench Press
Declaration
Swift
case benchPress = 0
-
Calf Raise
Declaration
Swift
case calfRaise = 1
-
Cardio
Declaration
Swift
case cardio = 2
-
Carry
Declaration
Swift
case carry = 3
-
Chop
Declaration
Swift
case chop = 4
-
Core
Declaration
Swift
case core = 5
-
Crunch
Declaration
Swift
case crunch = 6
-
Curl
Declaration
Swift
case curl = 7
-
Deadlift
Declaration
Swift
case deadlift = 8
-
Flye
Declaration
Swift
case flye = 9
-
Hip Raise
Declaration
Swift
case hipRaise = 10
-
Hip Stability
Declaration
Swift
case hipStability = 11
-
Hip Swing
Declaration
Swift
case hipSwing = 12
-
Hyper Extension
Declaration
Swift
case hyperExtension = 13
-
Lateral Raise
Declaration
Swift
case lateralRaise = 14
-
Leg Curl
Declaration
Swift
case legCurl = 15
-
Leg Raise
Declaration
Swift
case legRaise = 16
-
Lunge
Declaration
Swift
case lunge = 17
-
Olympic Lift
Declaration
Swift
case olympicLift = 18
-
Plank
Declaration
Swift
case plank = 19
-
Plyo
Declaration
Swift
case plyo = 20
-
Pull Up
Declaration
Swift
case pullUp = 21
-
Push Up
Declaration
Swift
case pushUp = 22
-
Row
Declaration
Swift
case row = 23
-
Shoulder Press
Declaration
Swift
case shoulderPress = 24
-
/ Shoulder Stability
Declaration
Swift
case shoulderStability = 25
-
Shrug
Declaration
Swift
case shrug = 26
-
Sit Up
Declaration
Swift
case sitUp = 27
-
Squat
Declaration
Swift
case squat = 28
-
Total Body
Declaration
Swift
case totalBody = 29
-
/ Triceps Extension
Declaration
Swift
case tricepExtension = 30
-
Warm Up
Declaration
Swift
case warmUp = 31
-
Run
Declaration
Swift
case run = 32
-
Unknown
Declaration
Swift
case unknown = 65534
-
Invalid
Declaration
Swift
case invalid = 65535
-
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