For setting screensaver on/off we are using following API from AppCommon API
webapis.appcommon.setScreenSaver(
webapis.appcommon.AppCommonScreenSaverState.SCREEN_SAVER_ON,
function(result) {
console.log(result);
}, function(error) {
console.log(JSON.stringify(error));
}
);
webapis.appcommon.setScreenSaver(
webapis.appcommon.AppCommonScreenSaverState.SCREEN_SAVER_OFF,
function(result) {
console.log(result);
}, function(error) {
console.log(JSON.stringify(error));
}
);
Are there any API methods to set the time after which the screensaver will start, like getting screensaver time and setting the screensaver time through a web application?
Note: If "Auto Protection Time" is switched off in the TV settings, enabling and disabling the screensaver using the AppCommon API has no effect. To be published on Samsung Apps TV, your application must enable and disable the screensaver appropriately.
Using the above API method screensaver on/off success blocked called successfully but what does the note above about "Auto Protection Time" and how to handle that case.
Also, are there any API/Methods to set custom screensaver?