SportMessage

@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class SportMessage : FitMessage

FIT Sport Message

  • FIT Message Global Number

    Declaration

    Swift

    public override class func globalMessageNumber() -> UInt16
  • Sport

    Declaration

    Swift

    @FitField
    private(set) public var sport: Sport? { get set }
  • Sub Sport

    Declaration

    Swift

    @FitField
    private(set) public var subSport: SubSport? { get set }
  • Sport Name

    Declaration

    Swift

    @FitField
    private(set) public var name: String? { get set }
  • Undocumented

    Declaration

    Swift

    public required init()
  • Undocumented

    Declaration

    Swift

    public convenience init(name: String? = nil, sport: Sport? = nil, subSport: SubSport? = nil)