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 © 2017 and Confidential to Pegasystems Inc. All rights reserved
PDN | Pega Mobile Client | Feedback
Advanced...