Choosing SDK mode

Choosing SDK mode

By default, the SDK guides the end-user through the measurement process, providing feedback, results interpretation, and health risk assessments.

You can use the default configuration or customize the SDK to fit your needs. All screens and UI elements can be customized or disabled, down to just displaying the camera feed. You can also opt to exclude any SDK-provided visual elements entirely, running the measurement in the background.


Full UX flow

In default mode, the SDK provides a complete user experience, guiding users through the measurement process and displaying results.

Screens

The color theme and displayed metrics can be adjusted, and non-measurement screens can be disabled. Discover all available customization options via the web playground at playground.shen.ai (opens in a new tab).

Camera feedback

If the available customization options are insufficient, the SDK can operate in a mode that only displays the camera feed, positioning hints, and visualization. You retain full control over the rest of the UI, pulling relevant data from the SDK's API as needed.

No visual elements

The SDK can also be used without any visual elements. This mode is ideal for scenarios where the SDK performs measurements without user interaction, such as in the background, or if camera feedback is provided by other means.


To customize the SDK's visual experience, set the appropriate options during initialization or at runtime (see Configuration).