From 61b9715f2884f1363f4532d991a907103462e3c5 Mon Sep 17 00:00:00 2001 From: lumingfei0525 Date: Sat, 16 Nov 2024 17:39:23 +0800 Subject: [PATCH] remove inteface Signed-off-by: lumingfei0525 --- api/@ohos.file.photoAccessHelper.d.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index 9c650d512..167c0ccee 100644 --- a/api/@ohos.file.photoAccessHelper.d.ts +++ b/api/@ohos.file.photoAccessHelper.d.ts @@ -4219,24 +4219,6 @@ declare namespace photoAccessHelper { * @since 12 */ cancelPhotoUriPermission(appid: string, uri: string, photoPermissionType: PhotoPermissionType): Promise; - /** - * Set force hideSensitiveType to an APP. - * - * @permission ohos.permission.READ_IMAGEVIDEO - * @@param { Array } uriList - List of asset uris whose permission will be granted to an App, - *
the capacity of uriList is 1000. - * @param { HideSensitiveType } hideSensitiveType - Hide sensitive info type of accessing assets. - * @returns { Promise } Returns result of cancel permission - * @throws { BusinessError } 201 - Permission denied - * @throws { BusinessError } 202 - Called by non-system application - * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; - *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 14000011 - Internal system error - * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core - * @systemapi - * @since 14 - */ - setForceHideSensitiveType(uriList: Array, hideSensitiveType: HideSensitiveType): Promise; /** * Provides the capability of thumbnail generation according to specified rules. *