Interface PolarSdkModeApi
-
- All Implemented Interfaces:
public interface PolarSdkModeApi
Polar SDK mode API
In SDK mode the wider range of capabilities is available for the online streaming or for the offline recording than in normal operation mode. The available capabilities can be asked from device using PolarOnlineStreamingApi.requestFullStreamSettings or PolarOfflineRecordingApi.requestFullOfflineRecordingSettings
Requires features FEATURE_POLAR_SDK_MODE
Note, SDK mode supported by VeritySense starting from firmware 1.1.5
-
-
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. -
-
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
-
-
-
-