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