SegmentLeaderboardEntryMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class SegmentLeaderboardEntryMessage : FitMessage
FIT Segment Leaderboard Entry Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Friendly name assigned to leader
Declaration
Swift
@FitField private(set) public var name: String? { get set }
-
Leader classification
Declaration
Swift
@FitField private(set) public var leaderType: LeaderboardType? { get set }
-
Primary user ID of this leader
Declaration
Swift
@FitField private(set) public var leaderId: UInt32? { get set }
-
ID of the activity associated with this leader time
Declaration
Swift
@FitField private(set) public var activityId: UInt32? { get set }
-
Segment Time (includes pauses)
Note
Time in SecondsDeclaration
Swift
@FitFieldDimension private(set) public var segmentTime: Measurement<UnitDuration>? { get set }
-
Message Index
Declaration
Swift
@FitField private(set) public var messageIndex: MessageIndex? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
Undocumented
Declaration
Swift
public convenience init(messageIndex: MessageIndex? = nil, name: String? = nil, leaderType: LeaderboardType? = nil, leaderId: UInt32? = nil, activityId: UInt32? = nil, segmentTime: Measurement<UnitDuration>? = nil)