GymConnectEquipmentState

@available(swift 4.0)
public enum GymConnectEquipmentState : UInt8, Hashable
extension GymConnectEquipmentState: Encodable

GymConnect Equipment Type

Provides the Equipment Types for GymConnect

  • Unknown

    Declaration

    Swift

    case unknown = 0
  • Idle

    Declaration

    Swift

    case idle = 1
  • Paused

    Declaration

    Swift

    case paused = 2
  • Stopped by Safety Key

    Declaration

    Swift

    case stopSafetyKey = 3
  • In Use

    Declaration

    Swift

    case inUse = 10
  • In Use - Warming Up

    Declaration

    Swift

    case inUseWarmingUp = 11
  • In Use - Low Intensity

    Declaration

    Swift

    case inUseLowIntensity = 12
  • In Use - High Intensity

    Declaration

    Swift

    case inUseHighIntensity = 13
  • In Use - Recovery

    Declaration

    Swift

    case inUseRecovery = 14
  • In Use - Workout Program

    Built In Workout Program

    See also

    CharacteristicGymConnectWorkoutProgramName

    Declaration

    Swift

    case inUseWorkoutProgram = 31
  • In Use - Workout Program Customized

    Built In Workout Program with Customization

    See also

    CharacteristicGymConnectWorkoutProgramName

    Declaration

    Swift

    case inUseWorkoutProgramCustom = 32
  • In Use - Workout Program Upload

    Workout Program Uploaded from external source

    See also

    CharacteristicGymConnectWorkoutProgramName

    Declaration

    Swift

    case inUseWorkoutProgramUpload = 33
  • In Use - Isometric

    Declaration

    Swift

    case inUseIsometric = 51
  • In Use - Heart Rate Control

    Declaration

    Swift

    case inUseHeartrateControl = 52
  • In Use - Fitness Test

    Declaration

    Swift

    case inUseFitnessTest = 53
  • In Use - Cool Down

    Declaration

    Swift

    case inUseCoolDown = 54
  • In Use - Watt Control

    Declaration

    Swift

    case inUseWattControl = 55
  • In Use - Custom State Name

    See also

    CharacteristicGymConnectEquipmentStateName

    Declaration

    Swift

    case inUseCustomStateName = 127
  • Finished

    Declaration

    Swift

    case finished = 128
  • 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.