Release Notes - Android 3.x
3.0.3 (02/15/2023)
- Fixed a crash bug on the devices that do not support 16:9 size resolution.
3.0.2 (02/02/2023)
- 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 interface via a new methodsetCameraStateListener. - Added a new method
getVisibleRegionOfVideoinDCECameraViewclass - Deprecated method
pauseandresumeinCameraEnhancerclass. - 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.
- Fixed a bug that might throws exception when triggering
CameraEnhancer.closeafter triggeringCameraEnhancer.pause. - Fixed a bug that camera might not be opened after camera permission is allowed.
- Fixed a bug that might cause camera crash when the
DCECameraViewis quit without destroying. - Fixed a deformation bug of
DCECameraViewwhen the screen rotated.
3.0.1 (09/29/2022)
- Added methods
selectCamera(EnumCameraPosition)andgetCameraPositionfor users to switch between the front-facing camera and the back-facing camera. - Added enumeration
EnumCameraPosition. - Added a new class
DCEFeedback. The following APIs are available in the class: - 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.
- Fixed a null pointer bug that might occur when rotating the
DCECameraView. - Fixed a crash bug when some methods are called in child thread.
3.0.0 (06/21/2022)
- Updated UI configuration APIs.
- Added
DCEImageEditorView - Added
DCEDrawingLayer - Added DrawingItem Classes
- Added [
DrawingStyle] - Added [
DrawingStyleManager]
- Added