提交 a0c17a3d 编写于 作者: A Annie_wang

Update docs

Signed-off-by: NAnnie_wang <annie.wangli@huawei.com>
上级 266f0426
...@@ -225,7 +225,7 @@ ...@@ -225,7 +225,7 @@
- [@ohos.file.fileExtensionInfo (User File Extension Information)](js-apis-fileExtensionInfo.md) - [@ohos.file.fileExtensionInfo (User File Extension Information)](js-apis-fileExtensionInfo.md)
- [@ohos.file.fs (File Management)](js-apis-file-fs.md) - [@ohos.file.fs (File Management)](js-apis-file-fs.md)
- [@ohos.file.hash (File Hash Processing)](js-apis-file-hash.md) - [@ohos.file.hash (File Hash Processing)](js-apis-file-hash.md)
- [@ohos.file.picker (File Picker)](js-apis-file-picker.md) - [@ohos.file.picker (Picker)](js-apis-file-picker.md)
- [@ohos.file.securityLabel (Data Label)](js-apis-file-securityLabel.md) - [@ohos.file.securityLabel (Data Label)](js-apis-file-securityLabel.md)
- [@ohos.file.statvfs (File System Space Statistics)](js-apis-file-statvfs.md) - [@ohos.file.statvfs (File System Space Statistics)](js-apis-file-statvfs.md)
- [@ohos.file.storageStatistics (Application Storage Statistics)](js-apis-file-storage-statistics.md) - [@ohos.file.storageStatistics (Application Storage Statistics)](js-apis-file-storage-statistics.md)
......
# @ohos.file.picker (File Picker) # @ohos.file.picker (Picker)
> **NOTE** > **NOTE**
> >
...@@ -41,7 +41,7 @@ Selects one or more images or videos in a **photoPicker** page. This API uses a ...@@ -41,7 +41,7 @@ Selects one or more images or videos in a **photoPicker** page. This API uses a
| Type | Description | | Type | Description |
| ----------------------------- | :---- | | ----------------------------- | :---- |
| [PhotoSelectResult](#photoselectresult) | Promise used to return information about the images or videos selected.| | Promise&lt;[PhotoSelectResult](#photoselectresult)&gt; | Promise used to return information about the images or videos selected.|
**Example** **Example**
...@@ -151,7 +151,7 @@ Saves one or more images or videos in a **photoPicker** page. This API uses a pr ...@@ -151,7 +151,7 @@ Saves one or more images or videos in a **photoPicker** page. This API uses a pr
| Type | Description | | Type | Description |
| ----------------------------- | :---- | | ----------------------------- | :---- |
| &lt;Array&lt;string&gt;&gt; | Promise used to return the URIs of the files saved.| | Promise&lt;Array&lt;string&gt;&gt; | Promise used to return the URIs of the files saved.|
**Example** **Example**
...@@ -271,7 +271,7 @@ Selects one or more documents in a **documentPicker** page. This API uses a prom ...@@ -271,7 +271,7 @@ Selects one or more documents in a **documentPicker** page. This API uses a prom
| Type | Description | | Type | Description |
| ----------------------------- | :---- | | ----------------------------- | :---- |
| &lt;Array&lt;string&gt;&gt; | Promise used to return the URIs of the documents selected.| | Promise&lt;Array&lt;string&gt;&gt; | Promise used to return the URIs of the documents selected.|
**Example** **Example**
...@@ -378,7 +378,7 @@ Saves one or more documents in a **documentPicker** page. This API uses a promis ...@@ -378,7 +378,7 @@ Saves one or more documents in a **documentPicker** page. This API uses a promis
| Type | Description | | Type | Description |
| ----------------------------- | :---- | | ----------------------------- | :---- |
| &lt;Array&lt;string&gt;&gt; | Promise used to return the URIs of the documents saved.| | Promise&lt;Array&lt;string&gt;&gt; | Promise used to return the URIs of the documents saved.|
**Example** **Example**
...@@ -498,7 +498,7 @@ Selects one or more audio files in an **audioPicker** page (currently, a **docum ...@@ -498,7 +498,7 @@ Selects one or more audio files in an **audioPicker** page (currently, a **docum
| Type | Description | | Type | Description |
| ----------------------------- | :---- | | ----------------------------- | :---- |
| &lt;Array&lt;string&gt;&gt; | Promise used to return the URIs of the audio files selected.| | Promise&lt;Array&lt;string&gt;&gt; | Promise used to return the URIs of the audio files selected.|
**Example** **Example**
...@@ -604,7 +604,7 @@ Saves one or more audio files in an **audioPicker** page (currently, a **documen ...@@ -604,7 +604,7 @@ Saves one or more audio files in an **audioPicker** page (currently, a **documen
| Type | Description | | Type | Description |
| ----------------------------- | ---- | | ----------------------------- | ---- |
| &lt;Array&lt;string&gt;&gt; | Promise used to return the URIs of the audio files saved.| | Promise&lt;Array&lt;string&gt;&gt; | Promise used to return the URIs of the audio files saved.|
**Example** **Example**
...@@ -726,7 +726,7 @@ Defines information about the images or videos selected. ...@@ -726,7 +726,7 @@ Defines information about the images or videos selected.
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ----------------------- | ------------------- | ---- | ---- | ------------------------------ | | ----------------------- | ------------------- | ---- | ---- | ------------------------------ |
| photoUris | Array&lt;string&gt; | Yes | Yes | URIs of the media files selected.| | photoUris | Array&lt;string&gt; | Yes | Yes | URIs of the media files selected.|
| isOriginalPhoto | boolean | Yes | Yes | Whether the selected media file is the original image.| | isOriginalPhoto | boolean | Yes | Yes | Whether the selected media file is the original image.|
## PhotoSaveOptions ## PhotoSaveOptions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册