Skip to content

Heart Age

The Heart Age value is sent as part of the final results.

The User Information is required to calculate the Heart Age result. If any details are missing from the User Information, the Heart Age will not be calculated. For more information on User Information, see the User Information page.

This indicator is supported for face measurements.

The application can receive the Heart Age result by implementing VitalSignsListener:

Kotlin
override fun onFinalResults(results: VitalSignsResults) {
    runOnUiThread {
        (results.getResult(VitalSignTypes.HEART_AGE) as? VitalSignHeartAge)?.let { heartAge ->
            Log.i("VITAL SIGN", "Heart Age: ${heartAge.value}")
        }
    }
}
Java
@Override
public void onFinalResults(final VitalSignsResults results) {
    runOnUiThread(() -> {
        VitalSignHeartAge heartAge = (VitalSignHeartAge) results.getResult(VitalSignTypes.HEART_AGE);
        if (heartAge != null) {
            Log.i("VITAL SIGN", "Heart Age: " + heartAge.getValue());
        }
    });
}

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.