Appearance
High Total Cholesterol Risk
The High Total Cholesterol 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.
The application can receive the High Total Cholesterol Risk result by implementing VitalSignsListener:
Kotlin
override fun onFinalResults(results: VitalSignsResults) {
runOnUiThread {
(results.getResult(VitalSignTypes.HIGH_TOTAL_CHOLESTEROL_RISK) as? VitalSignHighTotalCholesterolRisk)?.let { highTotalCholesterolRisk ->
Log.i("VITAL SIGN", "High Total Cholesterol Risk: ${highTotalCholesterolRisk.value.name}")
}
}
}Java
@Override
public void onFinalResults(final VitalSignsResults results) {
runOnUiThread(() -> {
VitalSignHighTotalCholesterolRisk highTotalCholesterolRisk = (VitalSignHighTotalCholesterolRisk) results.getResult(VitalSignTypes.HIGH_TOTAL_CHOLESTEROL_RISK);
if (highTotalCholesterolRisk != null) {
Log.i("VITAL SIGN", "High Total Cholesterol Risk: " + highTotalCholesterolRisk.getValue().name());
}
});
}For general information about vital signs see the Vital Signs and Health Indicators Information Document.
For a list of supported vital signs by platform and measurement mode (face/polar), along with their required measurement durations, refer to the Indicators Technical Information page.
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.