From 10871f6cd2da2d40cdbcf096bdd88d03acfe5e0a Mon Sep 17 00:00:00 2001 From: pengpeng7872 <2285070166@qq.com> Date: Wed, 28 May 2025 15:17:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=8A=A8=E6=80=81=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=9C=80=E8=BF=91=E7=85=A7=E7=89=87/=E8=A7=86?= =?UTF-8?q?=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: pengpeng7872 <2285070166@qq.com> --- api/@ohos.file.RecentPhotoComponent.d.ets | 24 ++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/api/@ohos.file.RecentPhotoComponent.d.ets b/api/@ohos.file.RecentPhotoComponent.d.ets index 3b7e2c86cc..32a27a1dac 100644 --- a/api/@ohos.file.RecentPhotoComponent.d.ets +++ b/api/@ohos.file.RecentPhotoComponent.d.ets @@ -19,7 +19,7 @@ */ import photoAccessHelper from '@ohos.file.photoAccessHelper'; -import { BaseItemInfo } from '@ohos.file.PhotoPickerComponent'; +import { BaseItemInfo, PickerColorMode } from '@ohos.file.PhotoPickerComponent'; /** * Declare struct RecentPhotoComponent @@ -142,6 +142,28 @@ export declare class RecentPhotoOptions { * @since 12 */ photoSource?: PhotoSource; + + /** + * isSupportAutoRefresh + * + * @type { ?boolean } + * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core + * @atomicservice + * @since 20 + * @arkts 1.1&1.2 + */ + isAutoRefreshSupported?: boolean; + + /** + * color mode of recentPhotoComponent placeholder + * + * @type { ?PickerColorMode } + * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core + * @atomicservice + * @since 20 + * @arkts 1.1&1.2 + */ + colorMode?: PickerColorMode; } /** -- Gitee