mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
!13768 professional raw photo can support heif enabled or jpeg enabled
Merge pull request !13768 from lvxiaoqiang/heif_profession
This commit is contained in:
commit
ee3cb3ae36
27
api/@ohos.multimedia.camera.d.ts
vendored
27
api/@ohos.multimedia.camera.d.ts
vendored
@ -7908,6 +7908,33 @@ declare namespace camera {
|
||||
*/
|
||||
confirmCapture();
|
||||
|
||||
/**
|
||||
* Confirm if the raw image delivery is supported
|
||||
*
|
||||
* @returns { boolean } TRUE if the type of delivery image is support.
|
||||
* @throws { BusinessError } 202 - Not System Application.
|
||||
* @throws { BusinessError } 7400104 - Session not running.
|
||||
* @throws { BusinessError } 7400201 - Camera service fatal error.
|
||||
* @syscap SystemCapability.Multimedia.Camera.Core
|
||||
* @systemapi
|
||||
* @since 13
|
||||
*/
|
||||
isRawDeliverySupported(): boolean;
|
||||
|
||||
/**
|
||||
* Enable raw image image delivery.
|
||||
*
|
||||
* @param { boolean } enabled - Target state for raw image delivery.
|
||||
* @throws { BusinessError } 202 - Not System Application.
|
||||
* @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect.
|
||||
* @throws { BusinessError } 7400104 - Session not running.
|
||||
* @throws { BusinessError } 7400201 - Camera service fatal error.
|
||||
* @syscap SystemCapability.Multimedia.Camera.Core
|
||||
* @systemapi
|
||||
* @since 13
|
||||
*/
|
||||
enableRawDelivery(enabled: boolean): void;
|
||||
|
||||
/**
|
||||
* Confirm if the deferred image delivery supported in the specific device.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user