enableCameraTorch method
Enabling/Disabling flash, i.e., the torch mode (for mobile OS)
- Parameters:
- enabled(bool)
Implementation
int enableCameraTorch(bool enabled) {
if (_only_support_mobile) {
return _deviceFFIBindings.enable_camera_torch(_nativePointer, enabled);
} else {
debugPrint("device-manager-api not support");
return -1;
}
}