Does WearOS Health Services allow taking spot measurements for anything other than HEART_RATE_BPM
? I have tried checking the list of capabilities on both a Google Pixel Watch 2 and the emulator, and the only item I get back is DataType.HEART_RATE_BPM
:
val healthClient = HealthServices.getClient(this /*context*/)
val measureClient = healthClient.measureClient
lifecycleScope.launch {
val capabilities = measureClient.getCapabilitiesAsync().await()
// This is the only item in `capabilities.supportedDataTypesMeasure`
supportsHeartRate = DataType.HEART_RATE_BPM in capabilities.supportedDataTypesMeasure
}