diff --git a/en/application-dev/reference/apis/js-apis-volumemanager.md b/en/application-dev/reference/apis/js-apis-volumemanager.md index 0b5491d66aad03a77512c492f96b31f264b05da5..247a14edecced6f77df4d458238bd51de2e02ddc 100644 --- a/en/application-dev/reference/apis/js-apis-volumemanager.md +++ b/en/application-dev/reference/apis/js-apis-volumemanager.md @@ -2,8 +2,8 @@ > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
> -> - The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version. -> - This is a system API and cannot be called by third-party applications. +> - The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version. +> - The APIs of this module are system APIs and cannot be called by third-party applications. ## Modules to Import @@ -11,7 +11,7 @@ import volumemanager from "@ohos.volumeManager"; ``` -## volumemanager.getAllVolumes9+ +## volumemanager.getAllVolumes getAllVolumes(): Promise<Array<Volume>> @@ -57,7 +57,7 @@ Asynchronously obtains information about all available volumes. This method uses ``` -## volumemanager.mount9+ +## volumemanager.mount mount(volumeId: string): Promise<boolean> @@ -86,7 +86,7 @@ Asynchronously mounts a volume. This method uses a promise to return the result. }); ``` -## volumemanager.mount9+ +## volumemanager.mount mount(volumeId: string, callback:AsyncCallback<boolean>):void @@ -110,7 +110,7 @@ Asynchronously obtains the available space of the specified volume. This method }); ``` -## volumemanager.unmount9+ +## volumemanager.unmount unmount(volumeId: string): Promise<boolean> @@ -139,7 +139,7 @@ Asynchronously unmounts a volume. This method uses a promise to return the resul }); ``` -## volumemanager.unmount9+ +## volumemanager.unmount unmount(volumeId: string, callback:AsyncCallback<boolean>):void @@ -163,7 +163,7 @@ Asynchronously unmounts a volume. This method uses a callback to return the resu }); ``` -## Volume9+ +## Volume **System capability**: SystemCapability.FileManagement.StorageService.Volume