Class Signage#getPowerSaveMode

Signage

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

Gets power saving mode.

Class Detail

Signage#getPowerSaveMode(successCallback, errorCallback)

Gets power saving mode.


function getPowerSaveMode() {
   var successCb = function (cbObject){
     var ses = cbObject.ses;
     var dpmMode = cbObject.dpmMode;
     var automaticStandby = cbObject.automaticStandby;
     var do15MinOff = cbObject.do15MinOff;

     console.log("Smart Energy Saving: " + ses);
     console.log("Display Power Management: " + dpmMode);
     console.log("Automatic Standby Mode: " + automaticStandby);
     console.log("15 Minutes Off: " + do15MinOff);
   };

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

var signage = new Signage();
signage.getPowerSaveMode(successCb, failureCb);

}
Parameters:
{Function} successCallback
success callback function.
{Function} errorCallback
failure callback function.
Since:
1.0
Returns:

After the method is successfully executed, successCallback is called with the following data.

PropertyTypeDescription
sesBooleanSmart Energy Saving mode.
This will deduce monitor power usage by manipulating the power usage on the screen backlight etc.
dpmModeSignage.DpmModeDisplay Power Management mode.
Sets the monitor power off time while there is no signal/no user inputs/no application on the monitor
automaticStandbySignage.AutomaticStandbyModeAutomatic standby mode.
Sets the monitor power off time while there is no user inputs on the monitor
do15MinOffBoolean15 Minutes off mode.
Sets the monitor power off time while there is no signal/no user inputs on the monitor

If an error occurs, errorCallback is called with errorCode and errorText.