torchButtonEnabled property

bool torchButtonEnabled
getter/setter pair

Defines, whether the camera's toolbar torch button is available on the Liveness UI. Defaults to true. When set to false the CameraToolbarView won't contain a button to toggle camera's flashlight. Only for livenessType = LivenessType.PASSIVE.

Implementation

bool torchButtonEnabled;