DS Loader provides a platform for loading software. Usually this will be a digital signage player but can potentially be anything.
Custom players for the Android platform must implement the following methods:
void start(Context context)
void setLoaderData(Map<String, String> data)
Context is an
Activity or a
DreamService. The custom player must call
setContentView(View v) in the
Context to draw to the screen.
setLoaderData()<String, String> data) receives data and commands from the loader e.g. URL to download sequence data, etc.
The loader control communications is designed to instigate secondary communications mechanisms such as JSON data transfer over HTTP. The virtual persistent UDP connection enables the server to instantly send messages to DS Loader and (indirectly) to player software at any time.
To add additional software to the list of players in the interface the following data must be added to a cloud config.
custom-player-0.3. When selected, the server will instruct DS Loader to download
start()in the class with the name
|Note: Contact your digitial signage provider for information about adding custom players. Custom players must be added to the server platform and be digitally signed before DS Loader will execute their custom code.|