Package com.dsi.ant.plugins.antplus.pcc
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Indicates whether the speed conditions for successful calibration are currently met by the fitness equipment.static enum
Indicates whether the temperature conditions for successful calibration are currently met by the fitness equipment. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<AntPlusFitnessEquipmentPcc.CalibrationInProgress>
CREATOR is used by Android parceling system.The fitness equipment may set this field to indicate its temperature or null.static final String
Default IPC keyIndicates whether the speed conditions for successful calibration are currently met by the fitness equipment.boolean
Spin down calibration is pending.The fitness equipment should set this field to indicate the speed that should be reached in order to perform a spin-down calibration.The fitness equipment should set this field to indicate the ideal spin-down time.Indicates whether the temperature conditions for successful calibration are currently met by the fitness equipment.boolean
Zero offset calibration is pending.Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a calibration in progress object.CalibrationInProgress
(android.os.Parcel in) Parcel constructor -
Method Summary
-
Field Details
-
KEY_DEFAULT_CALIBRATIONINPROGRESSKEY
Default IPC key- See Also:
-
currentTemperature
The fitness equipment may set this field to indicate its temperature or null.Units: C
Valid range: -25C - +100C
Resolution: 0.5C -
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
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 zeroOffsetCalibrationPendingZero offset calibration is pending. -
spinDownCalibrationPending
public boolean spinDownCalibrationPendingSpin 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> CREATORCREATOR 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 interfaceandroid.os.Parcelable
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-