Protocols
The following protocols are available globally.
-
Protocol defining methods to get steps for a given period.
See moreDeclaration
Swift
public protocol PolarActivityApi -
API.
See moreDeclaration
Swift
public protocol PolarBleApi : PolarActivityApi, PolarFirmwareUpdateApi, PolarH10OfflineExerciseApi, PolarOfflineRecordingApi, PolarOnlineStreamingApi, PolarSdkModeApi, PolarSleepApi, PolarTrainingSessionApi -
Polar Ble API connection observer.
See moreDeclaration
Swift
public protocol PolarBleApiObserver : AnyObject -
Bluetooth state observer.
See moreDeclaration
Swift
public protocol PolarBleApiPowerStateObserver : AnyObject -
Device info observer.
See moreDeclaration
Swift
public protocol PolarBleApiDeviceInfoObserver : AnyObject -
Heart rate observer
See moreDeclaration
Swift
public protocol PolarBleApiDeviceHrObserver : AnyObject -
Data client observer
See moreDeclaration
Swift
public protocol PolarBleApiDeviceFeaturesObserver : AnyObject -
logger observer
See moreDeclaration
Swift
public protocol PolarBleApiLogger : AnyObject -
Undocumented
See moreDeclaration
Swift
public protocol PolarFirmwareUpdateApi -
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
PolarBleSdkFeature.feature_polar_h10_exercise_recordingNote, API is working only with Polar H10 device
See moreDeclaration
Swift
public protocol PolarH10OfflineExerciseApi -
Offline recording API.
Offline recording makes it possible to record
PolarBleApi.PolarDeviceDataTypedata to device memory. With Offline recording the Polar device and phone don’t need to be connected all the time, as offline recording continues in Polar device even the BLE disconnects.Offline records saved into the device can be encrypted. The
PolarRecordingSecretis provided forstartOfflineRecordingandsetOfflineRecordingTriggerwhen encryption is wanted. ThePolarRecordingSecretwith same key must be provided ingetOfflineRecordto correctly decrypt the data in the device.Requires feature
PolarBleSdkFeature.feature_polar_offline_recordingNote, offline recording is supported in Polar Verity Sense device (starting from firmware version 2.1.0)
See moreDeclaration
Swift
public protocol PolarOfflineRecordingApi -
Online steaming API.
Online streaming makes it possible to stream live online data from Polar device.
Requires features
See morePolarBleSdkFeature.feature_polar_online_streamingDeclaration
Swift
public protocol PolarOnlineStreamingApi -
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.requestFullStreamSettingsorPolarOfflineRecordingApi.requestFullOfflineRecordingSettingsRequires features
PolarBleSdkFeature.feature_polar_sdk_modeNote, SDK mode supported by VeritySense starting from firmware 1.1.5
See moreDeclaration
Swift
public protocol PolarSdkModeApi -
Protocol defining methods to get Polar Sleep Data
See moreDeclaration
Swift
public protocol PolarSleepApi -
Protocol defining methods to access training session data.
See moreDeclaration
Swift
public protocol PolarTrainingSessionApi -
Methods related to working with services conforming to SAGRFC95 Service discovery over PFTP
See moreDeclaration
Swift
public protocol PolarRestServiceApi
Protocols Reference