Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Power On/Off API in Samsung Tizen TV

Is it possible to programmatically to turn the TV On/Off via the Web (or other) APIs from within Tizen? (Can't find any reference to this in docs)

like image 417
Boris Avatar asked Oct 19 '25 15:10

Boris


1 Answers

Up until Tizen 4.0 it was possible to use these (now deprecated) Power API calls:

tizen.power.turnScreenOn();
tizen.power.turnScreenOff();

These has now changed to:

//Turn on
tizen.power.request("SCREEN", "SCREEN_NORMAL");

//Turn off
tizen.power.request("SCREEN", "SCREEN_OFF");

NOTE: That SCREEN_OFF cannot be requested directly and has to be called in a event handler.

You can read more about managing power resources here.

like image 135
Sanguinary Avatar answered Oct 24 '25 12:10

Sanguinary