mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
整改
Signed-off-by: xuerunlong <xuerunlong1@huawei.com>
This commit is contained in:
parent
a4f99fef7f
commit
ba404864ea
30
api/@ohos.file.cloudSync.d.ts
vendored
30
api/@ohos.file.cloudSync.d.ts
vendored
@ -246,7 +246,7 @@ declare namespace cloudSync {
|
||||
* @throws { BusinessError } 401 - The input parameter is invalid.Possible causes:Incorrect parameter types.
|
||||
* @throws { BusinessError } 22400001 - Cloud status not ready.
|
||||
* @throws { BusinessError } 22400002 - Network unavailable.
|
||||
* @throws { BusinessError } 22400003 - Battery level warning.
|
||||
* @throws { BusinessError } 22400003 - Low battery level.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @systemapi
|
||||
* @since 10
|
||||
@ -263,7 +263,7 @@ declare namespace cloudSync {
|
||||
* <br>2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 22400001 - Cloud status not ready.
|
||||
* @throws { BusinessError } 22400002 - Network unavailable.
|
||||
* @throws { BusinessError } 22400003 - Battery level warning.
|
||||
* @throws { BusinessError } 22400003 - Low battery level.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @systemapi
|
||||
* @since 10
|
||||
@ -625,7 +625,7 @@ declare namespace cloudSync {
|
||||
* @throws { BusinessError } 13600001 - IPC error.
|
||||
* @throws { BusinessError } 22400001 - Cloud status not ready.
|
||||
* @throws { BusinessError } 22400002 - Network unavailable.
|
||||
* @throws { BusinessError } 22400003 - Battery level warning.
|
||||
* @throws { BusinessError } 22400003 - Low battery level.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @since 12
|
||||
*/
|
||||
@ -638,7 +638,7 @@ declare namespace cloudSync {
|
||||
* @throws { BusinessError } 13600001 - IPC error.
|
||||
* @throws { BusinessError } 22400001 - Cloud status not ready.
|
||||
* @throws { BusinessError } 22400002 - Network unavailable.
|
||||
* @throws { BusinessError } 22400003 - Battery level warning.
|
||||
* @throws { BusinessError } 22400003 - Low battery level.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @since 12
|
||||
*/
|
||||
@ -736,7 +736,7 @@ declare namespace cloudSync {
|
||||
* @throws { BusinessError } 13600001 - IPC error.
|
||||
* @throws { BusinessError } 13900002 - No such file or directory.
|
||||
* @throws { BusinessError } 13900025 - No space left on device.
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @since 11
|
||||
*/
|
||||
@ -751,7 +751,7 @@ declare namespace cloudSync {
|
||||
* @throws { BusinessError } 13600001 - IPC error.
|
||||
* @throws { BusinessError } 13900002 - No such file or directory.
|
||||
* @throws { BusinessError } 13900025 - No space left on device.
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @since 11
|
||||
*/
|
||||
@ -765,7 +765,7 @@ declare namespace cloudSync {
|
||||
* <br>2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 13600001 - IPC error.
|
||||
* @throws { BusinessError } 13900002 - No such file or directory.
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @since 11
|
||||
*/
|
||||
@ -779,7 +779,7 @@ declare namespace cloudSync {
|
||||
* <br>2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 13600001 - IPC error.
|
||||
* @throws { BusinessError } 13900002 - No such file or directory.
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @since 12
|
||||
*/
|
||||
@ -793,7 +793,7 @@ declare namespace cloudSync {
|
||||
* <br>2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 13600001 - IPC error.
|
||||
* @throws { BusinessError } 13900002 - No such file or directory.
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @since 11
|
||||
*/
|
||||
@ -809,7 +809,7 @@ declare namespace cloudSync {
|
||||
* <br>2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 13600001 - IPC error.
|
||||
* @throws { BusinessError } 13900002 - No such file or directory.
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @systemapi
|
||||
* @since 11
|
||||
@ -896,7 +896,7 @@ declare namespace cloudSync {
|
||||
* <br>2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 13600001 - IPC error.
|
||||
* @throws { BusinessError } 13900002 - No such file or directory.
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @systemapi
|
||||
* @since 11
|
||||
@ -914,7 +914,7 @@ declare namespace cloudSync {
|
||||
* <br>2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 13600001 - IPC error.
|
||||
* @throws { BusinessError } 13900002 - No such file or directory.
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @systemapi
|
||||
* @since 11
|
||||
@ -934,7 +934,7 @@ declare namespace cloudSync {
|
||||
* @throws { BusinessError } 13900012 - Permission denied by the file system
|
||||
* @throws { BusinessError } 13900031 - Function not implemented
|
||||
* @throws { BusinessError } 13900042 - Unknown error
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @systemapi
|
||||
* @since 12
|
||||
@ -951,7 +951,7 @@ declare namespace cloudSync {
|
||||
* @throws { BusinessError } 13900001 - Operation not permitted
|
||||
* @throws { BusinessError } 13900002 - No such file or directory.
|
||||
* @throws { BusinessError } 13900012 - Permission denied
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @since 12
|
||||
*/
|
||||
@ -965,7 +965,7 @@ declare namespace cloudSync {
|
||||
* @throws { BusinessError } 13900001 - Operation not permitted
|
||||
* @throws { BusinessError } 13900002 - No such file or directory.
|
||||
* @throws { BusinessError } 13900012 - Permission denied
|
||||
* @throws { BusinessError } 14000002 - Invalid uri.
|
||||
* @throws { BusinessError } 14000002 - Invalid URI.
|
||||
* @syscap SystemCapability.FileManagement.DistributedFileService.CloudSync.Core
|
||||
* @since 12
|
||||
*/
|
||||
|
6
api/@ohos.file.fs.d.ts
vendored
6
api/@ohos.file.fs.d.ts
vendored
@ -6407,7 +6407,7 @@ declare function connectDfs(networkId: string, listeners: DfsListeners): Promise
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 401 - The parameter check failed.Possible causes:1.Mandatory parameters are left unspecified;
|
||||
* <br>2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 13600004 - Failed to unmount.
|
||||
* @throws { BusinessError } 13600004 - Unmount failed.
|
||||
* @syscap SystemCapability.FileManagement.File.FileIO
|
||||
* @since 12
|
||||
*/
|
||||
@ -6646,7 +6646,7 @@ declare interface File {
|
||||
* @readonly
|
||||
* @throws { BusinessError } 13900005 - I/O error
|
||||
* @throws { BusinessError } 13900042 - Unknown error
|
||||
* @throws { BusinessError } 14300002 - Invalid uri
|
||||
* @throws { BusinessError } 14300002 - Invalid URI
|
||||
* @syscap SystemCapability.FileManagement.File.FileIO
|
||||
* @since 10
|
||||
*/
|
||||
@ -6670,7 +6670,7 @@ declare interface File {
|
||||
* @returns { string } Return the parent path of file.
|
||||
* @throws { BusinessError } 13900005 - I/O error
|
||||
* @throws { BusinessError } 13900042 - Unknown error
|
||||
* @throws { BusinessError } 14300002 - Invalid uri
|
||||
* @throws { BusinessError } 14300002 - Invalid URI
|
||||
* @syscap SystemCapability.FileManagement.File.FileIO
|
||||
* @since 11
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user