public static class AntPlusBikePowerPcc.CrankParameters
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static |
CREATOR
CREATOR is used by Android parceling system.
|
static java.lang.String |
KEY_DEFAULT_CRANKPARAMETERSKEY
Default IPC key
|
Constructor and Description |
---|
AntPlusBikePowerPcc.CrankParameters(java.math.BigDecimal fullCrankLength,
AntPlusBikePowerPcc.CrankLengthStatus crankLengthStatus,
AntPlusBikePowerPcc.SensorSoftwareMismatchStatus sensorSoftwareMismatchStatus,
AntPlusBikePowerPcc.SensorAvailabilityStatus sensorAvailabilityStatus,
AntPlusBikePowerPcc.CustomCalibrationStatus customCalibrationStatus,
boolean autoCrankLengthSupport) |
AntPlusBikePowerPcc.CrankParameters(Parcel in)
Parcel constructor
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
AntPlusBikePowerPcc.CrankLengthStatus |
getCrankLengthStatus()
Returns the
AntPlusBikePowerPcc.CrankLengthStatus of the power meter. |
AntPlusBikePowerPcc.CustomCalibrationStatus |
getCustomCalibrationStatus()
Returns the
AntPlusBikePowerPcc.CustomCalibrationStatus of the power meter, indicating if custom calibration is required. |
java.math.BigDecimal |
getFullCrankLength()
Returns the crank length value set in the power meter (up to 0.5mm resolution).
|
AntPlusBikePowerPcc.SensorAvailabilityStatus |
getSensorAvailabilityStatus()
Returns the
AntPlusBikePowerPcc.SensorAvailabilityStatus of the power meter. |
AntPlusBikePowerPcc.SensorSoftwareMismatchStatus |
getSensorSoftwareMismatchStatus()
Returns the
AntPlusBikePowerPcc.SensorSoftwareMismatchStatus of the power meter. |
boolean |
isAutoCrankLengthSupported()
Indicates if the power meter is capable of automatically determining crank length.
|
void |
writeToParcel(Parcel dest,
int flags) |
public static final java.lang.String KEY_DEFAULT_CRANKPARAMETERSKEY
public static finalCREATOR
public AntPlusBikePowerPcc.CrankParameters(java.math.BigDecimal fullCrankLength, AntPlusBikePowerPcc.CrankLengthStatus crankLengthStatus, AntPlusBikePowerPcc.SensorSoftwareMismatchStatus sensorSoftwareMismatchStatus, AntPlusBikePowerPcc.SensorAvailabilityStatus sensorAvailabilityStatus, AntPlusBikePowerPcc.CustomCalibrationStatus customCalibrationStatus, boolean autoCrankLengthSupport)
fullCrankLength
- The crank length value set in the power meter (up to 0.5mm resolution). Units: mm.crankLengthStatus
- The AntPlusBikePowerPcc.CrankLengthStatus
of the power meter.sensorSoftwareMismatchStatus
- The AntPlusBikePowerPcc.SensorSoftwareMismatchStatus
of the power meter.sensorAvailabilityStatus
- The AntPlusBikePowerPcc.SensorAvailabilityStatus
of the power meter.customCalibrationStatus
- The AntPlusBikePowerPcc.CustomCalibrationStatus
of the power meter, indicating if custom calibration is required.autoCrankLengthSupport
- Indicates if the power meter is capable of automatically determining crank length.public AntPlusBikePowerPcc.CrankParameters(Parcel in)
in
- Parcel with object datapublic void writeToParcel(Parcel dest, int flags)
public int describeContents()
public java.math.BigDecimal getFullCrankLength()
public AntPlusBikePowerPcc.CrankLengthStatus getCrankLengthStatus()
AntPlusBikePowerPcc.CrankLengthStatus
of the power meter.AntPlusBikePowerPcc.CrankLengthStatus
of the power meter.public AntPlusBikePowerPcc.SensorSoftwareMismatchStatus getSensorSoftwareMismatchStatus()
AntPlusBikePowerPcc.SensorSoftwareMismatchStatus
of the power meter.AntPlusBikePowerPcc.SensorSoftwareMismatchStatus
of the power meter.public AntPlusBikePowerPcc.SensorAvailabilityStatus getSensorAvailabilityStatus()
AntPlusBikePowerPcc.SensorAvailabilityStatus
of the power meter.AntPlusBikePowerPcc.SensorAvailabilityStatus
of the power meter.public AntPlusBikePowerPcc.CustomCalibrationStatus getCustomCalibrationStatus()
AntPlusBikePowerPcc.CustomCalibrationStatus
of the power meter, indicating if custom calibration is required.AntPlusBikePowerPcc.CustomCalibrationStatus
of the power meter, indicating if custom calibration is required.public boolean isAutoCrankLengthSupported()
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.