Appearance
High Blood Pressure Risk
The High Blood Pressure Risk value is sent as part of the final results.
The enum definition for the result includes three entries: Low, Medium, and High.
This indicator is supported for face measurements on Android smartphones and tablets.
The application can receive the High Blood Pressure Risk result by implementing VitalSignsListener:
Kotlin
override fun onFinalResults(results: VitalSignsResults) {
runOnUiThread {
(results.getResult(VitalSignTypes.HIGH_BLOOD_PRESSURE_RISK) as? VitalSignHighBloodPressureRisk)?.let { highBloodPressureRisk ->
Log.i("VITAL SIGN", "High Blood Pressure Risk: ${highBloodPressureRisk.value.name}")
}
}
}Java
@Override
public void onFinalResults(final VitalSignsResults results) {
runOnUiThread(() -> {
VitalSignHighBloodPressureRisk highBloodPressureRisk = (VitalSignHighBloodPressureRisk) results.getResult(VitalSignTypes.HIGH_BLOOD_PRESSURE_RISK);
if (highBloodPressureRisk != null) {
Log.i("VITAL SIGN", "High Blood Pressure Risk: " + highBloodPressureRisk.getValue().name());
}
});
}For general information about vital signs see the Vital Signs and Health Indicators Information Document.
For a list of supported vital signs per platform and measurement mode (face/polar) see the Supported Vital Signs Document.
Important
Note that vital signs are sent on a background thread. The application must switch to the UI thread in order to perform UI updates.