Skip to content

Stress Index

The Stress Index value is sent as part of the final results.

The application can receive the Stress Index result by using the useFinalResults hook:

TypeScript
import { 
    VitalSignTypes,
    useFinalResults
} from 'biosensesignal-react-native-sdk';

const finalResults = useFinalResults();

React.useEffect(() => {
    if (finalResults) {
        const stressIndex = finalResults.getResult(VitalSignTypes.STRESS_INDEX) as VitalSignStressIndex;
        if (stressIndex) {
            console.log(`Stress Index: ${stressIndex.value}`);
        }
    }
}, [finalResults]);

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

For a list of supported vital signs per platform and measurement mode (face/polar) see the Supported Vital Signs Document.