Appearance
Wellness Index
The Wellness Index value is sent as part of the final results.
The application can receive the Wellness Index result by implementing VitalSignsListener
:
Dart
@override
void onFinalResults(VitalSignsResults results) {
VitalSign? vitalSign = results.getResult(VitalSignTypes.wellnessIndex);
if (vitalSign != null && vitalSign is VitalSignWellnessIndex) {
VitalSignWellnessIndex wellnessIndex = vitalSign;
print("Wellness Index: ${wellnessIndex.value}");
}
}
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.