Interface PolarSdkModeApi

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Completable enableSDKMode(String identifier) Enables SDK mode.
      abstract Completable disableSDKMode(String identifier) Disables SDK mode.
      abstract Single<Boolean> isSDKModeEnabled(String identifier) Check if SDK mode currently enabled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • enableSDKMode

         abstract Completable enableSDKMode(String identifier)

        Enables SDK mode.

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

        Completable stream produces: success if SDK mode is enabled or device is already in SDK mode error if SDK mode enable failed

      • disableSDKMode

         abstract Completable disableSDKMode(String identifier)

        Disables SDK mode.

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

        Completable stream produces: success if SDK mode is disabled or SDK mode was already disabled error if SDK mode disable failed

      • isSDKModeEnabled

         abstract Single<Boolean> isSDKModeEnabled(String identifier)

        Check if SDK mode currently enabled.

        Note, SDK status check is supported by VeritySense starting from firmware 2.1.0

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

        Single Produces: <BR></BR> - onSuccess true, if the SDK mode is currently enabled <BR></BR> - onError status request failed