!13768 professional raw photo can support heif enabled or jpeg enabled

Merge pull request !13768 from lvxiaoqiang/heif_profession
This commit is contained in:
openharmony_ci 2024-09-24 06:47:35 +00:00 committed by Gitee
commit ee3cb3ae36
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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.
*