取消获取公共目录接口的权限校验

Signed-off-by: Wang Luyao <wangluyao35@huawei.com>
This commit is contained in:
Wang Luyao 2024-05-29 09:31:26 +08:00
parent 117881b382
commit 55ef1b37d5

View File

@ -91,6 +91,15 @@ declare namespace Environment {
* @syscap SystemCapability.FileManagement.File.Environment.FolderObtain
* @since 11
*/
/**
* Get the public download directory.
*
* @returns { string } Return the public download directory.
* @throws { BusinessError } 801 - Capability not supported.
* @throws { BusinessError } 13900042 - Unknown error.
* @syscap SystemCapability.FileManagement.File.Environment.FolderObtain
* @since 12
*/
function getUserDownloadDir(): string;
/**
@ -104,6 +113,15 @@ declare namespace Environment {
* @syscap SystemCapability.FileManagement.File.Environment.FolderObtain
* @since 11
*/
/**
* Get the public desktop directory.
*
* @returns { string } Return the public desktop directory.
* @throws { BusinessError } 801 - Capability not supported.
* @throws { BusinessError } 13900042 - Unknown error.
* @syscap SystemCapability.FileManagement.File.Environment.FolderObtain
* @since 12
*/
function getUserDesktopDir(): string;
/**
@ -117,6 +135,15 @@ declare namespace Environment {
* @syscap SystemCapability.FileManagement.File.Environment.FolderObtain
* @since 11
*/
/**
* Get the public document directory.
*
* @returns { string } Return the public document directory.
* @throws { BusinessError } 801 - Capability not supported.
* @throws { BusinessError } 13900042 - Unknown error.
* @syscap SystemCapability.FileManagement.File.Environment.FolderObtain
* @since 12
*/
function getUserDocumentDir(): string;
/**