skleraSDK

Library to communicate with the sklera Player

skleraSDK
Example
skleraSDK.loaded(function(screenData, appConfig) {
     console.log('SDK ready!');
     console.log(screenData);
     console.log('runtime config:', appConfig);
 })
Static Members
loaded(callback)
getConfig()
writeData(key, data, callback)
readData(key, callback)
hideApp()
showApp()
pausePlayer()
resumePlayer()
getItems(callback)
getMediaItems(callback)
getCollectionData(collection, filter?, options?, callback)
getWidgetsByName(name, callback)
getWidgetList(callback)
overrideWidgetData(widgetId, data)
resetWidgetData(widgetId)
setPhilipsLed(color)
unsetPhilipsLed()
fetchRemoteData(url, config?, callback)

requestCallback

This callback type is called requestCallback and is displayed as a global symbol.

requestCallback(errorResponse: string, responseData: string)

Type: Function

Parameters
errorResponse (string) Error Response. If null, Response is ok
responseData (string) Data