kony.media Namespace

The kony.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 kony.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 kony.media.record function to create a record object.

Functions

The kony.media namespace contains the following functions.