From 56d8fddc6d94b4bedb9a0b82883dab997893d66f Mon Sep 17 00:00:00 2001 From: yaozihao2 Date: Sat, 9 Aug 2025 17:38:02 +0800 Subject: [PATCH] =?UTF-8?q?API=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yaozihao2 --- api/@ohos.file.photoAccessHelper.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index 9f695a5697..2b7ca4583d 100644 --- a/api/@ohos.file.photoAccessHelper.d.ts +++ b/api/@ohos.file.photoAccessHelper.d.ts @@ -1561,6 +1561,7 @@ declare namespace photoAccessHelper { * @systemapi * @since 10 * @deprecated since 11 + * @useinstead ohos.file.fs/fileIo#open */ open(mode: string, callback: AsyncCallback): void; /** @@ -1579,6 +1580,7 @@ declare namespace photoAccessHelper { * @systemapi * @since 10 * @deprecated since 11 + * @useinstead ohos.file.fs/fileIo#open */ open(mode: string): Promise; /** @@ -1594,6 +1596,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @since 10 * @deprecated since 11 + * @useinstead ohos.file.fs/fileIo#open */ getReadOnlyFd(callback: AsyncCallback): void; /** @@ -1609,6 +1612,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @since 10 * @deprecated since 11 + * @useinstead ohos.file.fs/fileIo#open */ getReadOnlyFd(): Promise; /** @@ -1623,6 +1627,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @since 10 * @deprecated since 11 + * @useinstead ohos.file.fs/fileIo#close */ close(fd: number, callback: AsyncCallback): void; /** @@ -1637,6 +1642,7 @@ declare namespace photoAccessHelper { * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core * @since 10 * @deprecated since 11 + * @useinstead ohos.file.fs/fileIo#close */ close(fd: number): Promise; /** -- Gitee