PolarTestApi
public protocol PolarTestApi
Polar SPO2 test API.
Requires SDK feature: PolarBleSdkFeature.feature_polar_spo2_test_data
-
Get SPO2 test data for a given date period.
Requires
Requires SDK feature(s):
PolarBleSdkFeature.feature_polar_spo2_test_dataDeclaration
Swift
func getSpo2TestData(identifier: String, fromDate: Date, toDate: Date) -> Single<[PolarSpo2TestData]>Parameters
identifierThe Polar device ID or BT address.
fromDateThe starting date of the period to retrieve data from.
toDateThe ending date of the period to retrieve data from.
Return Value
A Single emitting a list of
PolarSpo2TestDatafor the specified period.