Skip to content

voltmx.media Namespace

The voltmx.media namespace, together with the media object and the record object, implements the functionality of the Media API.

Your app uses the functions in the voltmx.media namespace to create media and record objects. It calls the createFromFile and createFromUri functions to instantiate media objects and associate media objects with files. The files can exist either locally on the device or remotely across the network or Internet.

To record audio to a file, your app uses the voltmx.media.record function to create a record object.