Package 

Interface RunningSpeedAndCadenceMeasurementCallback

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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).