Camera Methods
Note:
- This class is removed in 9.0 version. Please use the video methods for video barcode scanning if you are using the latest version.
Method | Description |
---|---|
StartCameraEnhancer |
Start using Dynamsoft Camera Enhancer |
StopCameraEnhancer |
Stop using Dynamsoft Camera Enhancer |
PauseCameraEnhancer |
Pause the process of Dynamsoft Camera Enhancer |
ResumeCameraEnhancer |
Pause the process of Dynamsoft Camera Enhancer |
SetCameraEnhancerParam |
Set the parameters for Dynamsoft Camera Enhancer in Barcode reader |
This page illustrates the controlling of Dynamsoft Camera Enhancer
. To get a better understanding of this section, please read more about Dynamsoft Camera Enhancer
.
StartCameraEnhancer
The API that controlling the start of Dynamsoft Camera Enhancer
.
void StartCameraEnhancer()
Code Snippet
reader.StartCameraEnhancer();
StopCameraEnhancer
The API that controlling the start of Dynamsoft Camera Enhancer
.
void StopCameraEnhancer()
Code Snippet
reader.StopCameraEnhancer();
PauseCameraEnhancer
The API that controlling the pause of Dynamsoft Camera Enhancer
.
void com.dynamsoft.dbr.BarcodeReader.PauseCameraEnhancer()
Code Snippet
reader.PauseCameraEnhancer();
ResumeCameraEnhancer
The API that controlling the resume of Dynamsoft Camera Enhancer
.
void ResumeCameraEnhancer()
Code Snippet
reader.ResumeCameraEnhancer();
SetCameraEnhancerParam
Set the CameraEnhancer parameters.
void SetCameraEnhancerParam(DCESettingParameters _param)
Parameters
cameraInstance
: The instance of Dynamsoft Camera Enhancer.
TextResultCallback
: The text result callback.
intermediateResultCallback
: The intermediate result callback.
Code Snippet
DCESettingParameters dceSettingParameters = new DCESettingParameters();
dceSettingParameters.cameraInstance = mCameraEnhancer;
dceSettingParameters.textResultCallback = mTextResultCallback;
dceSettingParameters.intermediateResultCallback = mIntermediateResultCallback;
reader.SetCameraEnhancerParam(dceSettingParameters);
See Also
DCESettingParameters
: The parameters that will be used in SetCameraEnhancerParam
.