From 75ce0014cb76abd19b7facd33eaa2fb0f03a9b3e Mon Sep 17 00:00:00 2001 From: caochuan Date: Tue, 19 Aug 2025 16:34:12 +0800 Subject: [PATCH] update medialibrary kit arkts 1.2 tag Signed-off-by: caochuan --- kits/@kit.MediaLibraryKit.d.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/kits/@kit.MediaLibraryKit.d.ts b/kits/@kit.MediaLibraryKit.d.ts index 8ed251fea6..d985fe202a 100644 --- a/kits/@kit.MediaLibraryKit.d.ts +++ b/kits/@kit.MediaLibraryKit.d.ts @@ -18,7 +18,14 @@ * @kit MediaLibraryKit */ +/*** if arkts 1.1&1.2 */ import photoAccessHelper from '@ohos.file.photoAccessHelper'; +export { + photoAccessHelper +}; +/*** endif */ + +/*** if arkts 1.1 */ import sendablePhotoAccessHelper from '@ohos.file.sendablePhotoAccessHelper'; import { MovingPhotoView, MovingPhotoViewController, MovingPhotoViewAttribute } from '@ohos.multimedia.movingphotoview'; import { AlbumPickerComponent, AlbumPickerOptions, AlbumInfo, EmptyAreaClickCallback } from '@ohos.file.AlbumPickerComponent'; @@ -34,7 +41,7 @@ import { RecentPhotoClickCallback, RecentPhotoOptions, PhotoSource } from '@ohos.file.RecentPhotoComponent'; export { - photoAccessHelper, sendablePhotoAccessHelper, + sendablePhotoAccessHelper, MovingPhotoView, MovingPhotoViewController, MovingPhotoViewAttribute, PhotoPickerComponent, PickerController, PickerOptions, DataType, BaseItemInfo, ItemInfo, PhotoBrowserInfo, AnimatorParams, @@ -45,3 +52,4 @@ export { RecentPhotoClickCallback, RecentPhotoOptions, PhotoSource, PhotoBrowserUIElement, ItemsDeletedCallback, ExceedMaxSelectedCallback, CurrentAlbumDeletedCallback }; +/*** endif */ -- Gitee