> 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 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.
**Picker** encapsulates system applications, such as **PhotoViewPicker**, **DocumentViewPicker**, and **AudioViewPicker**, and provides capabilities of selecting and saving photos, documents, and audio clips. The application can select the picker as required.
**Picker** encapsulates system applications, such as **PhotoViewPicker**, **DocumentViewPicker**, and **AudioViewPicker**, and provides capabilities of selecting and saving images, videos, documents, and audio clips. The application can select the picker as required.
## Modules to Import
## Modules to Import
```js
```js
...
@@ -394,7 +394,7 @@ async function example() {
...
@@ -394,7 +394,7 @@ async function example() {
console.error('DocumentViewPicker.save failed with err: '+err);
console.error('DocumentViewPicker.save failed with err: '+err);
});
});
}catch(err){
}catch(err){
console.errort('DocumentViewPicker failed with err: '+err);
console.error('DocumentViewPicker failed with err: '+err);