DecodeConfig.DEFAULT_AREA_RECT_RATIO,设置的比例最终会在预览区域裁剪基于此比例的一个矩形进行扫码识别CameraCameraScanCameraScanCaptureActivity.ivFlashlight 的IDCaptureFragment.ivFlashlight 的IDCaptureActivity.previewView 的IDCaptureFragment.previewView 的IDAppCompatActivity.setContentView(int),返回为false是需自己去初始化AppCompatActivity.setContentView(int)CaptureFragment.createRootView(LayoutInflater, ViewGroup),返回为false是需自己去初始化CaptureFragment.createRootView(LayoutInflater, ViewGroup)Analyzer,
自定义时,切记需在ICamera.startCamera()之前调用才有效。DecodeConfig.DEFAULT_AREA_RECT_RATIO,设置的比例最终会在预览区域裁剪基于此比例的一个矩形进行扫码识别,优先级最低CameraScan.bindFlashlightView(View)绑定手电筒才有效ICamera.startCamera()之前调用CameraScan.bindFlashlightView(View)绑定手电筒才有效AmbientLightManager.isLightSensorEnabled 为true 才有效