Dev Center
Swift
Objective-C
Table of contents

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.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.11
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.11
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.13
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
  • Version 8.x
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
    • Version 7.6.0
    • Version 7.5.0
Change +