PolarErrors
public enum PolarErrors : Error
Polar SDK errors
-
GATT characteristic notification not enabled
Declaration
Swift
case notificationNotEnabled -
GATT service not found
Declaration
Swift
case serviceNotFound -
Device state != Connected
Declaration
Swift
case deviceNotConnected -
Device not found
Declaration
Swift
case deviceNotFound -
Requested operation is not supported
Declaration
Swift
case operationNotSupported -
Google protocol buffers encode failed
Declaration
Swift
case messageEncodeFailed -
Google protocol buffers decode failed
Declaration
Swift
case messageDecodeFailed -
String to date time formatting failed
Declaration
Swift
case dateTimeFormatFailed(description: String = "") -
Failed to start streaming
Declaration
Swift
case unableToStartStreaming -
invalid argument
Declaration
Swift
case invalidArgument(description: String = "") -
The device does not recognize or support the requested sport identifier.
Declaration
Swift
case sportProfileNotFound(description: String) -
Polar BLE SDK internal exception indicating something went wrong in SDK internal logic
Declaration
Swift
case polarBleSdkInternalException(description: String) -
Error on device operation
Declaration
Swift
case deviceError(description: String) -
Error related to offline recording
Declaration
Swift
case polarOfflineRecordingError(description: String) -
Error due timeout
Declaration
Swift
case timeout(description: String) -
Invalid sensor setting value
Declaration
Swift
case invalidSensorSettingValue(setting: PolarSensorSetting.SettingType, value: UInt32) -
Error occurred while loading file data from device or while reading the the file data or while writing file data
Declaration
Swift
case fileError(description: String) -
Another SDK device-side API call is already in progress for the same device. The call is rejected immediately, not queued; callers must serialise calls to the same device. Long-lived observers and telemetry APIs are not guarded. Note: switches over
PolarErrorsmust handle this case.Declaration
Swift
case concurrentApiCall(description: String)
View on GitHub