PolarTestApi
public protocol PolarTestApi
Polar SPO2 test API.
-
getSpo2TestData(identifier:AsynchronousfromDate: toDate: ) 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) async throws -> [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 list of
PolarSpo2TestDatafor the specified period.