Radiant Media Player

Offline API demo


Offline API methods

rmp.isOnline()

rmp.download(metadata) > downloadprogress event > rmp.getDownloadProgress()

rmp.listDownloadedContent() > downloadlistavailable event > rmp.getDownloadList()



        

Note: in this demo app, in order to use the following loadDownload or removeDownload API methods you must first call listDownloadedContent

rmp.loadDownload() - last item downloaded

rmp.removeDownload() - last item downloaded

rmp.setSrc()

Offline API events

The following events may fire: downloadstarted, downloadcompleted, downloadprogress, downloadlistavailable, downloadremoved, warning, srcchanged, online, offline