Class AntPlusFitnessEquipmentPcc.CalibrationInProgress

java.lang.Object
com.dsi.ant.plugins.antplus.pcc.AntPlusFitnessEquipmentPcc.CalibrationInProgress
All Implemented Interfaces:
android.os.Parcelable
Enclosing class:
AntPlusFitnessEquipmentPcc

public static class AntPlusFitnessEquipmentPcc.CalibrationInProgress extends Object implements android.os.Parcelable
Sent from the fitness equipment while a calibration is being performed. This is an optional page that may be interpreted by displays to improve the user experience during calibration.
Since:
2.1.8
  • Field Details

    • KEY_DEFAULT_CALIBRATIONINPROGRESSKEY

      public static final String KEY_DEFAULT_CALIBRATIONINPROGRESSKEY
      Default IPC key
      See Also:
    • currentTemperature

      public BigDecimal currentTemperature
      The fitness equipment may set this field to indicate its temperature or null.

      Units: C
      Valid range: -25C - +100C
      Resolution: 0.5C

    • targetSpeed

      public BigDecimal targetSpeed
      The fitness equipment should set this field to indicate the speed that should be reached in order to perform a spin-down calibration. Set to null if not used.

      Units: m/s
      Valid range: 0m/s - 65.534m/s
      Resolution: 0.001m/s

    • targetSpinDownTime

      public Integer targetSpinDownTime
      The fitness equipment should set this field to indicate the ideal spin-down time. Set to null if not used.

      Units: ms
      Valid range: 0ms - 65534ms
      Resolution: 1ms

    • zeroOffsetCalibrationPending

      public boolean zeroOffsetCalibrationPending
      Zero offset calibration is pending.
    • spinDownCalibrationPending

      public boolean spinDownCalibrationPending
      Spin down calibration is pending.
    • temperatureCondition

      Indicates whether the temperature conditions for successful calibration are currently met by the fitness equipment.
    • speedCondition

      Indicates whether the speed conditions for successful calibration are currently met by the fitness equipment.
    • CREATOR

      public static final android.os.Parcelable.Creator<AntPlusFitnessEquipmentPcc.CalibrationInProgress> CREATOR
      CREATOR is used by Android parceling system.
  • Constructor Details

    • CalibrationInProgress

      public CalibrationInProgress()
      Creates a calibration in progress object. User code should not have to reference this constructor.
    • CalibrationInProgress

      public CalibrationInProgress(android.os.Parcel in)
      Parcel constructor
      Parameters:
      in - Parcel with object data
  • Method Details

    • writeToParcel

      public void writeToParcel(android.os.Parcel dest, int flags)
      Specified by:
      writeToParcel in interface android.os.Parcelable
    • describeContents

      public int describeContents()
      Specified by:
      describeContents in interface android.os.Parcelable