SportProfile
public enum SportProfile : Int
extension PolarExerciseSession.SportProfile: CaseIterable
Convenience names for a subset of Polar sport identifiers, not a complete list of sports supported by devices. Use numeric sport IDs for other sports.
-
Undocumented
Declaration
Swift
case unknown = 0 -
Undocumented
Declaration
Swift
case running = 1 -
Undocumented
Declaration
Swift
case cycling = 2 -
Undocumented
Declaration
Swift
case otherOutdoor = 16 -
Undocumented
Declaration
Swift
public static func from(id: Int) -> PolarExerciseSession.SportProfile -
Undocumented
Declaration
Swift
public var displayName: String { get } -
Declaration
Swift
public static var allCases: [`Self`] { get }
View on GitHub