Skip to content
On this page

SDNN

The SDNN value is sent as part of the final results.

The application can receive the SDNN result by implementing VitalSignsListener:

Kotlin
override fun onFinalResults(results: VitalSignsResults) {
    runOnUiThread {
        (results.getResult(VitalSignTypes.SDNN) as? VitalSignSDNN)?.let { sdnn ->
            Log.i("VITAL SIGN", "SDNN: ${sdnn.value}")
            Log.i("VITAL SIGN", "Confidence Level: ${sdnn.confidence?.level?.name ?: "N/A"}")
        }
    }
}
Java
@Override
public void onFinalResults(final VitalSignsResults results) {
    runOnUiThread(() -> {
        VitalSignSDNN sdnn = (VitalSignSDNN) results.getResult(VitalSignTypes.SDNN);
        if (sdnn != null) {
            Log.i("VITAL SIGN", "SDNN: " + sdnn.getValue());
            VitalSignConfidence confidence = sdnn.getConfidence();
            Log.i("VITAL SIGN", "Confidence Level: "+ confidence != null ? confidence.getLevel().name() : "N/A");
        }
    });
}

For general information about vital signs see the Vital Signs and Health Indicators Information Page.

For a list of supported vital signs per platform and measurement mode (face/finger) see the Supported Vital Signs 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.