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