!14023 api13 enableMirror interface

Merge pull request !14023 from qano/master
This commit is contained in:
openharmony_ci 2024-09-29 06:33:47 +00:00 committed by Gitee
commit 1a2196a6af
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -8078,6 +8078,18 @@ declare namespace camera {
*/
isMirrorSupported(): boolean;
/**
* Enable mirror for photo capture.
*
* @param { boolean } enabled - enable photo mirror if TRUE.
* @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect.
* @throws { BusinessError } 7400103 - Session not config.
* @throws { BusinessError } 7400201 - Camera service fatal error.
* @syscap SystemCapability.Multimedia.Camera.Core
* @since 13
*/
enableMirror(enabled: boolean): void;
/**
* Subscribes capture start event callback.
*