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>) -> PolarBleApi

    Parameters

    queue

    context of where the API is used

    features

    set of SDK features to enable. Pass an empty set to enable all SDK features by default.

    Return Value

    api instance

  • Return current version

    Declaration

    Swift

    public static func versionInfo() -> String

    Return Value

    version in format major.minor.patch