Appearance
Stress Level
The Stress Level value is sent as part of the final results.
The application can receive the Stress Level result by using the useFinalResults hook:
TypeScript
import {
VitalSignTypes,
useFinalResults
} from 'biosensesignal-react-native-sdk';
const finalResults = useFinalResults();
React.useEffect(() => {
if (finalResults) {
const stressLevel = finalResults.getResult(VitalSignTypes.STRESS_LEVEL) as VitalSignStressLevel;
if (stressLevel) {
console.log(`Stress Level: ${stressLevel.value}`);
}
}
}, [finalResults]);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.