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.
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.