This API is designed for users to acquire a single frame. When this API is activated, it will fetch the latest frame from the DCE frame queue.
Objective-C:
FramePackage *fg = [self.camera AcquireListFrame];
Swift:
let fg = self.dce.acquireListFrame()
This API is designed for users to setup DCE fast mode. DCE fast mode will cut frames into small images that contains barcode areas to improve decode efficiency. It is recommended to be enabled when decoding a single barcode.
Objective-C:
[dce enableFastMode:true];
//To check the status of DCE fast mode
[dce getEnableFastMode];
Swift:
dce.enableFastMode = true
Turn on (off) sensor control
Objective-C:
[dce enableSensorControl:true];
//To check the status of the DCE sensor control
BOOL res= [dce enableSensorControl];
Swift:
dce.enableSensorControl(true)
//To check the status of the DCE sensor control
let res = dce.enableSensorControl
This API is designed for developers to apply different sensor sensitivity settings on different devices. The default value is 50.
Objective-C:
[dce setSensorControlThreshold:55];
Swift:
dce.setSensorControlThreshold(55)
Turn on(off) DCE filter (recommended to be true).
Objective-C:
[dce enableFrameFilter:true];
//To check the status of the DCE frame filter
BOOL res= [dce enableFrameFilter];
Swift:
dce.enableFrameFilter(true)
//To check the status of the DCE frame filter
let res = dce.enableFrameFilter
Set max frame rate.
Objective-C:
[dce setMaxFrameRate:24];
Swift:
dce.setMaxFrameRate(24)
latest version