The method is responsible for activating the native UI component that records sound or video, takes a picture with the built-in camera, or picks an attachment from any other source that is available.
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.