Feature: Add dynamic_range_type field to the photos table

Signed-off-by: caochuan <caochuan@huawei.com>
This commit is contained in:
caochuan 2024-04-25 16:48:07 +08:00
parent d33dab643e
commit cd8fe44098

View File

@ -160,6 +160,30 @@ declare namespace photoAccessHelper {
MOVING_PHOTO = 3,
}
/**
* Enumeration of dynamic range type
*
* @enum { number } DynamicRangeType
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @since 12
*/
enum DynamicRangeType {
/**
* SDR(Standard-Dynamic Range) format
*
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @since 12
*/
SDR = 0,
/**
* HDR(High-Dynamic Range) format
*
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @since 12
*/
HDR = 1
}
/**
* Photo asset position
*
@ -1572,7 +1596,14 @@ declare namespace photoAccessHelper {
* @systemapi
* @since 12
*/
MOVING_PHOTO_EFFECT_MODE = 'moving_photo_effect_mode'
MOVING_PHOTO_EFFECT_MODE = 'moving_photo_effect_mode',
/**
* Dynamic range type of the asset, read only
*
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
* @since 12
*/
DYNAMIC_RANGE_TYPE = 'dynamic_range_type'
}
/**