pick


Purpose

The method is responsible for activating the native UI component that either records sound or video or takes a picture with the built-in camera, or picks a media file from a gallery, depending on the configuration.

See the usage example for details.

Signature

pick( )

Returns

This method returns a promise object that can be used to retrieve the fileEntry that represents the picked media resource or a DOMerror, which describes a nature of the failure.

Related topics

DocumentPicker
Legal notice | Copyright © 2016 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback
Advanced...