Capabilities
struct Capabilities : OptionSet
extension CourseMessage.Capabilities: FitFieldCodeable
Course Capabilities Options
-
Declaration
Swift
public let rawValue: UInt32
-
Declaration
Swift
public init(rawValue: UInt32)
-
Processed
Declaration
Swift
public static let processed: CourseMessage.Capabilities
-
Valid
Declaration
Swift
public static let valid: CourseMessage.Capabilities
-
Time
Declaration
Swift
public static let time: CourseMessage.Capabilities
-
Distance
Declaration
Swift
public static let distance: CourseMessage.Capabilities
-
Position
Declaration
Swift
public static let position: CourseMessage.Capabilities
-
Heart Rate
Declaration
Swift
public static let heartRate: CourseMessage.Capabilities
-
Power
Declaration
Swift
public static let power: CourseMessage.Capabilities
-
Cadence
Declaration
Swift
public static let cadence: CourseMessage.Capabilities
-
Training
Declaration
Swift
public static let training: CourseMessage.Capabilities
-
Navigation
Declaration
Swift
public static let navigation: CourseMessage.Capabilities
-
Bikeway
Declaration
Swift
public static let bikeway: CourseMessage.Capabilities
-
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