SwimStroke
public enum SwimStroke : UInt8, CaseIterable
extension SwimStroke: FitFieldCodeable
                  FIT Swim Stroke Type
- 
                    
                    
Freestyle
Declaration
Swift
case freestyle = 0 - 
                    
                    
Backstroke
Declaration
Swift
case backstroke = 1 - 
                    
                    
Breaststroke
Declaration
Swift
case breaststroke = 2 - 
                    
                    
Butterfly
Declaration
Swift
case butterfly = 3 - 
                    
                    
Drill
Declaration
Swift
case drill = 4 - 
                    
                    
Mixed
Declaration
Swift
case mixed = 5 - 
                    
                    
IM
IM is a mixed interval containing the same number of lengths for each of: Butterfly, Backstroke, Breaststroke, Freestyle, swam in that order
Declaration
Swift
case im = 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