Class Signage#setPowerSaveMode

Signage

Class Summary
Constructor Attributes Constructor Name and Description
 
Signage#setPowerSaveMode(successCallback, errorCallback, options)

Sets power saving mode.

Class Detail

Signage#setPowerSaveMode(successCallback, errorCallback, options)

Sets power saving mode.

function setPowerSaveMode() {
   var options = { 
     powerSaveMode: {
        ses: true,
        dpmMode: Signage.DpmMode.OFF,
        automaticStandby: Signage.AutomaticStandbyMode.OFF,
        do15MinOff: true,
     }
  }; 

   var successCb = function (){
     console.log("successfully Set");
   };

   var failureCb = function(cbObject){
     var errorCode = cbObject.errorCode;
     var errorText = cbObject.errorText;
     console.log( " Error Code [" + errorCode + "]: " + errorText); 
   };

   var signage = new Signage();
   signage.setPowerSaveMode(successCb, failureCb, options);
}
Parameters:
{Function} successCallback
success callback function.
{Function} errorCallback
failure callback function.
{Object} options
parameter list.
{Object} options.powerSaveMode
powerSaveMode object. Only attributes that exist will be set. 'automaticStandby' mode is triggered when there are no RCU or local key input for 4 hours. '15MinOff' mode is triggered when there is no video input for 15 minutes.
PropertyTypeDescriptionRequired
sesBooleanSmart Energy Saving mode.
This will deduce monitor power usage by manipulating the power usage on the screen backlight etc.
optional
dpmModeSignage.DpmModeDisplay Power Management mode.
Sets the monitor power off time while there is no signal/no user inputs/no application on the monitor
optional
automaticStandbySignage.AutomaticStandbyModeAutomatic standby mode.
Sets the monitor power off time while there is no user inputs on the monitor
optional
do15MinOffBoolean15 Minutes off mode.
Sets the monitor power off time while there is no signal/no user inputs on the monitor
optional
Since:
1.0
Returns:

After the method is successfully executed, successCallback is called without any parameter.
If an error occurs, errorCallback is called with errorCode and errorText.