remove inteface

Signed-off-by: lumingfei0525 <zhouhui86@huawei.com>
This commit is contained in:
lumingfei0525 2024-11-16 17:39:23 +08:00
parent 06f2acc6de
commit 61b9715f28

View File

@ -4219,24 +4219,6 @@ declare namespace photoAccessHelper {
* @since 12 * @since 12
*/ */
cancelPhotoUriPermission(appid: string, uri: string, photoPermissionType: PhotoPermissionType): Promise<number>; cancelPhotoUriPermission(appid: string, uri: string, photoPermissionType: PhotoPermissionType): Promise<number>;
/**
* Set force hideSensitiveType to an APP.
*
* @permission ohos.permission.READ_IMAGEVIDEO
* @@param { Array<string> } uriList - List of asset uris whose permission will be granted to an App,
* <br>the capacity of uriList is 1000.
* @param { HideSensitiveType } hideSensitiveType - Hide sensitive info type of accessing assets.
* @returns { Promise<number> } 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;
* <br>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<string>, hideSensitiveType: HideSensitiveType): Promise<number>;
/** /**
* Provides the capability of thumbnail generation according to specified rules. * Provides the capability of thumbnail generation according to specified rules.
* *