mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 23:30:15 +00:00
Feature: Add dynamic_range_type field to the photos table
Signed-off-by: caochuan <caochuan@huawei.com>
This commit is contained in:
parent
d33dab643e
commit
cd8fe44098
33
api/@ohos.file.photoAccessHelper.d.ts
vendored
33
api/@ohos.file.photoAccessHelper.d.ts
vendored
@ -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'
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user