PolarBleApiDefaultImpl
public class PolarBleApiDefaultImpl
Class to provide the default implementation of the Polar Ble API
-
New instance of Polar Ble API implementation
Declaration
Swift
public static func polarImplementation(_ queue: DispatchQueue, features: Set<PolarBleSdkFeature>, restoreIdentifier: String? = nil) -> PolarBleApiParameters
queuecontext of where the API is used
featuresset of SDK features to enable. Pass an empty set to enable all SDK features by default.
restoreIdentifieroptional Core Bluetooth state restoration identifier for background relaunch support
Return Value
api instance
-
Return current version
Declaration
Swift
public static func versionInfo() -> StringReturn Value
version in format major.minor.patch