Interface PolarH10OfflineExerciseApi

  • All Implemented Interfaces:

    
    public interface PolarH10OfflineExerciseApi
    
                        

    H10 Exercise recording API.

    H10 Exercise recording makes it possible to record Hr or Rr data to H10 device memory. With H10 Exercise recording the H10 and phone don't need to be connected all the time, as H10 exercise recording continues in Polar device even the BLE disconnects.

    Requires features PolarBleApi.PolarBleSdkFeature.FEATURE_POLAR_H10_EXERCISE_RECORDING

    Note, API is working only with Polar H10 device

    • Constructor Detail

    • Method Detail

      • stopRecording

         abstract Completable stopRecording(String identifier)

        Request to stop recording.

        Parameters:
        identifier - polar device id or bt address
        Returns:

        Completable stream

      • requestRecordingStatus

         abstract Single<Pair<Boolean, String>> requestRecordingStatus(String identifier)

        Request current recording status.

        Parameters:
        identifier - polar device id or bt address
        Returns:

        Single stream Pair first recording status, second entryId if available

      • listExercises

         abstract Flowable<PolarExerciseEntry> listExercises(String identifier)

        List exercises stored in the device Polar H10 device.

        Parameters:
        identifier - Polar device id found printed on the sensor/device or bt address
        Returns:

        Flowable stream of PolarExerciseEntry entries

      • removeExercise

         abstract Completable removeExercise(String identifier, PolarExerciseEntry entry)

        Api for removing single exercise from Polar H10 device.

        Parameters:
        identifier - Polar device id found printed on the sensor/device or bt address
        entry - entry to be removed
        Returns:

        Completable stream