Language
public enum Language : UInt8
extension Language: FitFieldCodeable
Language Type
-
English
Declaration
Swift
case english = 0
-
French
Declaration
Swift
case french = 1
-
Italian
Declaration
Swift
case italian = 2
-
German
Declaration
Swift
case german = 3
-
Spanish
Declaration
Swift
case spanish = 4
-
Croatian
Declaration
Swift
case croatian = 5
-
Czech
Declaration
Swift
case czech = 6
-
Danish
Declaration
Swift
case danish = 7
-
Dutch
Declaration
Swift
case dutch = 8
-
Finnish
Declaration
Swift
case finnish = 9
-
Greek
Declaration
Swift
case greek = 10
-
Hungarian
Declaration
Swift
case hungarian = 11
-
Norwegian
Declaration
Swift
case norwegian = 12
-
Polish
Declaration
Swift
case polish = 13
-
Portuguese
Declaration
Swift
case portuguese = 14
-
Slovakian
Declaration
Swift
case slovakian = 15
-
Slovenian
Declaration
Swift
case slovenian = 16
-
Swedish
Declaration
Swift
case swedish = 17
-
Russian
Declaration
Swift
case russian = 18
-
Turkish
Declaration
Swift
case turkish = 19
-
Latvian
Declaration
Swift
case latvian = 20
-
Ukrainian
Declaration
Swift
case ukrainian = 21
-
Arabic
Declaration
Swift
case arabic = 22
-
Farsi
Declaration
Swift
case farsi = 23
-
Bulgarian
Declaration
Swift
case bulgarian = 24
-
Romanian
Declaration
Swift
case romanian = 25
-
Chinese
Declaration
Swift
case chinese = 26
-
Japanese
Declaration
Swift
case japanese = 27
-
Korean
Declaration
Swift
case korean = 28
-
Taiwanese
Declaration
Swift
case taiwanese = 29
-
Thai
Declaration
Swift
case thai = 30
-
Hebrew
Declaration
Swift
case hebrew = 31
-
Brazilian Portuguese
Declaration
Swift
case brazilianPortuguese = 32
-
Indonesian
Declaration
Swift
case indonesian = 33
-
Malaysian
Declaration
Swift
case malaysian = 34
-
Vietnamese
Declaration
Swift
case vietnamese = 35
-
Burmese
Declaration
Swift
case burmese = 36
-
Mongolian
Declaration
Swift
case mongolian = 37
-
Custom
Declaration
Swift
case custom = 254
-
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