GymConnectEquipmentType
@available(swift 4.0)
public enum GymConnectEquipmentType : UInt8, Hashable
extension GymConnectEquipmentType: Encodable
GymConnect Equipment Type
Provides the Equipment Types for GymConnect
-
Unknown
Declaration
Swift
case unknown = 0
-
Treadmill
Declaration
Swift
case treadmill = 1
-
Bike
Declaration
Swift
case bike = 2
-
Stepper
Declaration
Swift
case stepper = 3
-
Step Mill
Declaration
Swift
case stepMill = 4
-
Cross Trainer / Elliptical
Declaration
Swift
case elliptical = 5
-
Total Body Trainer
Declaration
Swift
case totalBodyTrainer = 6
-
Tread Climber
Declaration
Swift
case treadClimber = 7
-
Rower
Declaration
Swift
case rower = 8
-
Bike - Recumbent
Declaration
Swift
case recumbentBike = 144
-
Bike - Upper Body Ergo
Declaration
Swift
case upperBodyErgo = 145
-
Kayak Ergo
Declaration
Swift
case kayakErgo = 190
-
Undocumented
Declaration
Swift
public var description: String { get }
-
Encodes this value into the given encoder.
If the value fails to encode anything,
encoder
will encode an empty keyed container in its place.This function throws an error if any values are invalid for the given encoder’s format.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
The encoder to write data to.