Package com.polar.sdk.api
Interface PolarTestApi
-
- All Implemented Interfaces:
public interface PolarTestApiPolar SPO2 test API.
Requires feature PolarBleApi.PolarBleSdkFeature.FEATURE_POLAR_FILE_TRANSFER
-
-
Method Summary
Modifier and Type Method Description abstract List<PolarSpo2TestData>getSpo2TestData(String identifier, LocalDate fromDate, LocalDate toDate)Get SPO2 test data for a given period. abstract List<PolarSpo2TestData>getSpo2Test(String identifier, LocalDate fromDate, LocalDate toDate)Get SPO2 test data for a given period. -
-
Method Detail
-
getSpo2TestData
abstract List<PolarSpo2TestData> getSpo2TestData(String identifier, LocalDate fromDate, LocalDate toDate)
Get SPO2 test data for a given period.
Requires feature PolarBleApi.PolarBleSdkFeature.FEATURE_POLAR_SPO2_TEST_DATA.
- Parameters:
identifier- The Polar device ID or BT address.fromDate- The starting date of the period to retrieve data from.toDate- The ending date of the period to retrieve data from.- Returns:
A list of PolarSpo2TestData representing the SPO2 test data for the specified period.
-
getSpo2Test
@Deprecated(message = "Use getSpo2TestData instead", replaceWith = @ReplaceWith(imports = {}, expression = "getSpo2TestData(identifier, fromDate, toDate)")) abstract List<PolarSpo2TestData> getSpo2Test(String identifier, LocalDate fromDate, LocalDate toDate)
Get SPO2 test data for a given period.
Requires feature PolarBleApi.PolarBleSdkFeature.FEATURE_POLAR_SPO2_TEST_DATA.
- Parameters:
identifier- The Polar device ID or BT address.fromDate- The starting date of the period to retrieve data from.toDate- The ending date of the period to retrieve data from.- Returns:
A list of PolarSpo2TestData representing the SPO2 test data for the specified period.
-
-
-
-