Release Notes - Android 2.x
2.3.20 (03/21/2024)
Changed
- Internal changes on the torch controlling logics.
2.3.12 (12/19/2023)
Fixed
- Added internal changes to prevent crashes on cross-platform apps.
2.3.11 (02/14/2023)
Fixed
- Fixed a crash bug on the devices that do not support 16:9 size resolution.
2.3.10 (12/13/2022)
New
- Override method
setFocusinCameraEnhancerclass for users to specify the subsequent focus mode after triggering a focus. EnumerationEnumFocusModeis added to specify the focus mode. - Added a new method
setAutoZoomRangeinCameraEnhancerfor users to specify a range for the auto-zoom feature of the library. - Added an interface
DCECameraStateListenerto receive a callback when the camera state changes. You can add the protocol via a new methodsetCameraStateListener. - Added a new method
getVisibleRegionOfVideoinDCECameraViewclass
Deprecated
- Deprecated method
pauseandresumeinCameraEnhancerclass.
Fixed
- Fixed a bug that might cause thread blocking when using an offline license.
- Fixed a bug that UI might be blocked when the screen is locked and reopened.
- Fixed a bug that might cause memory churn when the instance/thread was created frequently.
2.3.5 (11/04/2022)
- Fixed a bug that might throws exception when triggering
CameraEnhancer.closeafter triggeringCameraEnhancer.pause.
2.3.4 (09/22/2022)
- Fixed a bug that camera might not be opened after camera permission is allowed.
2.3.3 (08/18/2022)
Fixed
-
Fixed a bug that might cause camera crash when the
DCECameraViewis quit without destroying. -
Fixed a deformation bug of
DCECameraViewwhen the screen rotated.
2.3.2 (08/02/2022)
New
- Added methods
selectCamera(EnumCameraPosition)andgetCameraPositionfor users to switch between the front-facing camera and the back-facing camera. - Added enumeration
EnumCameraPosition.
Fixed
- Fixed a null pointer bug that might occur when rotating the
DCECameraView. - Fixed a crash bug when some methods are called in child thread.
2.3.0 (06/28/2022)
Version Highlights
- The same camera enhancer instance can now be used by multiple products. (JS edition only)
- Added photo capturing features. You can now capture high-resolution images using the library. (Mobile editions only)
- Added device feedback features. You can now trigger vibrations or beep sounds of mobile devices. (Mobile editions only)
Changelog
- Added the following APIs for capturing photos:
DCEPhotoListener: The interface that includes methodphotoOutputCallbackwhich is triggered when a photo is captured. JPEG-encoded photo can be received via the methodphotoOutputCallback.takePhoto: Triggers photo capturing.
- Added a new class
DCEFeedback. The following APIs are available in the class: - Added a new method
getMaxZoomFactorwhich returns the maximum available zoom factor of the device.
2.1.4 (05/26/2022)
New
- Added support for ISO and exposure time settings.
Fixed
- Fixed the memory leaks caused by the misuse of the Context instance.
- Fixed a bug where some delay might happen in initiating licenses when using along with Dynamsoft Barcode Reader Mobile Edition.
Deprecated
CameraEnhancer.setFrameRate
2.1.3 (03/02/2022)
Fixed
- Fixed a bug that might cause a crash on Android emulator when used together with
DynamsoftBarcodeReader.
2.1.1 (12/28/2021)
New
- Added a new feature
SMART_TORCH. Users can enable this feature via the methodenableFeaturesby specifyingEF_SMART_TORCH. WhenSMART_TORCHis enabled, a torch button will be displayed automatically when the environment light level is low. Users can click on the torch button to turn on/off the torchlight. - Overwrite
DCECameraViewmethodsetTorchButton. Users can set the position, size and image of the torch button. The previoussetTorchButtonmethod is deprecated.
Fixed
- Fixed a bug that might affect the processing speed.
- Fixed a bug that
enableFeaturesmight not have effects.
2.1.0 (12/16/2021)
Version Highlights
- Added class scan region configuration APIs and
RegionDefinitionfor users to set the region of interest. The frames will be cropped based on the scan region to accelerate further frame processing.
Changelog
Added
- Added method
setScanRegionandgetScanRegiontoCameraEnhancerclass for users to set or get the region of interest. The scan region will determine how frames will be cropped. - Added class
RegionDefinition. The class will be used to define the parameters for methodsetScanRegion. - Added method
setScanRegionVisibleandgetScanRegionVisibleto control and check the visibility of the scan region. - Added method
setTorchButtontoDCECameraViewclass for users to set the position of the torch button. MethodssetTorchButtonVisibleandgetTorchButtonVisibleare added to set and check the visibility of the torch button. - Extended the JSON template of
updateAdvancedSettingsFromFileandupdateAdvancedSettingsFromString. Added fast mode configuration parameters to the template.
2.0.0 (10/19/2021)
Version Highlights
- Simplified the usage of camera-control APIs. The new APIs are easier to use and cover more scenarios.
- Simplified the usage of camera enhancer features. Users can enable all required features via the method
enableFeaturesby inputting the combined enumeration value. - Extended the features of
DCECameraView. Users can add and personalize the overlays and viewfinder on the camera UI. - Extended the features of
DCEFrame.DCEFramewill store more frame information to cover more scenarios. In addition, the methodtoBitmapis added to enable users to convertDCEFrameto a visible image. - The camera UI will display a fuzzified image instead of the previously captured image when the camera UI is quit and resumed.
Changelog
Improved
- Updated the mechanism of the video buffer. The capability of real-time frame processing and transferring is improved.
Fixed
- Fixed a bug that might cause incorrect device count.
Breaking Change(s)
- Added method
initLicenseto replaceinitLicenseFromDLS. - Upgraded the
basic camera-control APIs. - Upgraded the usage of
camera enhancer features. - Renamed class
CameraViewtoDCECameraView. The features of the class are extended as well. - Renamed class
FrametoDCEFrame. The features of the class are extended as well.