Sensor configuration

This page explains the possible configurations of the sensors used in the SDKs.

SensorLuminositySettings

Sensor that detects the ambient brightness.

ParameterDefault

int luminosityThreshold

Threshold that defines low ambient brightness

Default by SDK

SensorOrientationSettings

Sensor that detects the orientation of the device. Orientation is understood as the position of the phone relative to the ground. If the phone is on a table with the rear camera pointing at the floor, the orientation is valid.

ParameterDefault

double orientationThreshold

Threshold that defines orientation as invalid

Default by SDK

SensorStabilitySettings

Sensor that detects whether the device is stable or not.

ParameterDefault

long stabilityStabledMillis

Time in milliseconds to keep the phone stable

Default by SDK

double stabilityThreshold

Threshold that defines the phone as unstable

Default by SDK

Last updated

Logo

2023 © Caf. - All rights reserved