-
public interface RunningSpeedAndCadenceMeasurementCallback
-
-
Method Summary
Modifier and Type Method Description abstract voidonRSCMeasurementReceived(@NonNull() BluetoothDevice device, boolean running, float instantaneousSpeed, int instantaneousCadence, @Nullable() Integer strideLength, @Nullable() Long totalDistance)Method called when the Running Speed And Cadence Measurement data was received. -
-
Method Detail
-
onRSCMeasurementReceived
abstract void onRSCMeasurementReceived(@NonNull() BluetoothDevice device, boolean running, float instantaneousSpeed, int instantaneousCadence, @Nullable() Integer strideLength, @Nullable() Long totalDistance)
Method called when the Running Speed And Cadence Measurement data was received.
- Parameters:
device- the target device.running- true if running was detected, false if walking.instantaneousSpeed- instantaneous speed in m/s unit.instantaneousCadence- instantaneous cadence in steps per minute.strideLength- instantaneous stride length in centimeters.totalDistance- the total distance in meters (UINT32).
-
-
-
-