Downloads a file.
File url.
File name.
Callback function that indicates the percentage of the operation.
// example
broox.mediaPlayer.downloadFile(url, name, onUpdate).then(filePath => ...);
Gets device information.
Device information.
// example
const deviceInfo = broox.mediaPlayer.getDeviceInfo();
Gets media information.
Media information.
// example
const mediaInfo = broox.mediaPlayer.getMediaInfo();
Logs an alarm.
Alarm subject.
Alarm text.
// example
broox.mediaPlayer.logAlarm('Error', e.message);
Generated using TypeDoc
Provides context to the apps executed within the Media Player.
Usage
BlobsController
Parses tuio events recieved by apps and keeps track of the blobs.
KeyValue
Allows apps to persist json values associated to a project and a key.
GestureHandler
Parses OSC events recieved by apps and allows to handle the different gestures.
OscListener
Listens to OSC events and executes callback functions.
Functions
Gets media information.
Gets device information.
Logs an alarm.
Downloads a file.