mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-06 21:53:50 +00:00
!14023 api13 enableMirror interface
Merge pull request !14023 from qano/master
This commit is contained in:
commit
1a2196a6af
12
api/@ohos.multimedia.camera.d.ts
vendored
12
api/@ohos.multimedia.camera.d.ts
vendored
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user