Skip to content

High Hemoglobin A1c Risk

The High Hemoglobin A1c 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 Hemoglobin A1c Risk result by implementing VitalSignsListener:

Kotlin
override fun onFinalResults(results: VitalSignsResults) {
    runOnUiThread {
        (results.getResult(VitalSignTypes.HIGH_HEMOGLOBIN_A1C_RISK) as? VitalSignHighHemoglobinA1cRisk)?.let { highHemoglobinA1cRisk ->
            Log.i("VITAL SIGN", "High Hemoglobin A1c Risk: ${highHemoglobinA1cRisk.value.name}")
        }
    }
}
Java
@Override
public void onFinalResults(final VitalSignsResults results) {
    runOnUiThread(() -> {
        VitalSignHighHemoglobinA1cRisk highHemoglobinA1cRisk = (VitalSignHighHemoglobinA1cRisk) results.getResult(VitalSignTypes.HIGH_HEMOGLOBIN_A1C_RISK);
        if (highHemoglobinA1cRisk != null) {
            Log.i("VITAL SIGN", "High Hemoglobin A1c Risk: " + highHemoglobinA1cRisk.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.