Knox Capture SDK
Knox Capture SDK
/
com.samsung.android.knox.smartscan.preview.control
/
FlashLightControl
/
setState
set
State
open
override
fun
setState
(
flashLightState
:
SDKConstants.FlashLightState
)
Switch the camera flashlight on/off accordingly
Parameters
flash
Light
State
the desired flashlight state on/off