获取gif图片的播放次数

Signed-off-by: caochuan <caochuan@huawei.com>
This commit is contained in:
caochuan 2024-04-29 15:03:10 +08:00 committed by Can Xia
parent 36f58c1741
commit d13a753c12

View File

@ -2157,7 +2157,17 @@ declare namespace image {
* @crossplatform * @crossplatform
* @since 12 * @since 12
*/ */
SCENE_VERSION = 'HwMnoteSceneVersion' SCENE_VERSION = 'HwMnoteSceneVersion',
/**
* GIF LOOP COUNT
* If infinite loop returns 0, other values represent the number of loops
*
* @syscap SystemCapability.Multimedia.Image.Core
* @crossplatform
* @since 12
*/
GIF_LOOP_COUNT = 'GIFLoopCount'
} }
/** /**