mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
取消获取公共目录接口的权限校验
Signed-off-by: Wang Luyao <wangluyao35@huawei.com>
This commit is contained in:
parent
117881b382
commit
55ef1b37d5
27
api/@ohos.file.environment.d.ts
vendored
27
api/@ohos.file.environment.d.ts
vendored
@ -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;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user