获取gif图片的播放次数

Signed-off-by: caochuan <caochuan@huawei.com>
This commit is contained in:
caochuan 2024-04-29 15:48:45 +08:00
parent fa706adfbc
commit 2dda5c6828

View File

@ -1258,6 +1258,15 @@ static const char *OHOS_IMAGE_PROPERTY_SCENE_POINTER = "HwMnoteScenePointer";
* @since 12
*/
static const char *OHOS_IMAGE_PROPERTY_SCENE_VERSION = "HwMnoteSceneVersion";
/**
* @brief Gif Loop Count
* It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}.
* If infinite loop returns 0, other values represent the number of loops
*
* @since 12
*/
static const char *OHOS_IMAGE_PROPERTY_GIF_LOOP_COUNT = "GIFLoopCount";
#ifdef __cplusplus
};
#endif