Interface display


public interface display

display.js contains the methods necessary to interact with the device display.


Method Summary
 boolean getDisplayState()
          Obtains whether the LCD backlight is currently on
 boolean setDisplayState(boolean state)
          Turn the LCD backlight on or off
 

Method Detail

setDisplayState

public boolean setDisplayState(boolean state)
Turn the LCD backlight on or off

Parameters:
state - Set to true to turn the backlight on
Returns:
Returns whether the operation was successful
WATA Integration
Host Applicationcom.ibm.retail.saf.wata.host.settings.SettingsAgentManager
Host AppletSettingsApplet
FlowUses: set (0|100) hardware/lcd/brightness

getDisplayState

public boolean getDisplayState()
Obtains whether the LCD backlight is currently on

Returns:
Returns the current state of the LCD backlight
WATA Integration
Host Applicationcom.ibm.retail.saf.wata.host.settings.SettingsAgentManager
Host AppletSettingsApplet
FlowUses: get hardware/lcd/brightness