top

Setting Screen Saver

This document covers how to turn on and off screen saver.

Overview

Screen saver is shown to prevent burn-in when screen displays a still image for pre-set duration time. When there is no any user input on application, screen saver is also shown because screen is regarded as displaying a still image.

Because user usually doesn’t make any input while watching video, screen saver is shown without meaning to be.

Note

  • To prevent these situations, you should turn off screen saver during playing movies, image slideshow, music and so on.

  • As “Apps” policy, if you don’t turn on and off screen saver properly, application cannot be released on “Apps”.

For turning on and off screen saver, please refer to the following.

Turning On Screen Saver

You can turn on screen saver by using the following method in case of pausing and stopping contents.
Please refer to AppCommon API.

webapis.appcommon.setScreenSaver(
	webapis.appcommon.AppCommonScreenSaverState.SCREEN_SAVER_ON,
	function(result) {
		console.log(result);
	}, function(error) {
		console.log(JSON.stringify(error));
	}
);

Turning Off Screen Saver

You can turn off screen saver by using the following method in case of playing and resuming contents.

webapis.appcommon.setScreenSaver(
	webapis.appcommon.AppCommonScreenSaverState.SCREEN_SAVER_OFF,
	function(result) {
		console.log(result);
	}, function(error) {
		console.log(JSON.stringify(error));
	}
);

Testing Screen Saver

Turning on screen saver, screen saver is shown after pre-set duration time. You can set duration time on “Menu” > “System” > “Expert Settings” > “Auto Protection Time”.

Figure 1. Setting Screen Saver

Figure 1. Setting Screen Saver

The following table is default value of “Auto Protection Time” of each product.

Table 1. Default value of “Auto Protection Time”
Product Default Value of Auto Protection Time
TV 2 hours
TV SDK Off

For example,

  • If setting “2 hours” on “Menu” and turning on screen saver by API, screen saver is shown after 2 hours.

  • If setting “4 hours” on “Menu” and turning off screen saver by API, screen saver isn’t shown over time.

  • If setting “Off” on “Menu”, you cannot turn on screen saver by API.