LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Service API com.palm.display/

Public methods:


status

Public.

com.palm.display/status

Get the status of the display.

Syntax:

{
"subscribe": boolean
}
Parameters
subscribeSubscribe for updates.

Returns:

{
"returnValue": boolean,
"event": string,
"state": string,
"subscribed": boolean
}
Parameters
returnValueIndicates if the call was succesful.
eventEvent that triggered this call.
stateState of the display. "Undefined", "dimmed", "off" or "on".
subscribedTrue if subscribed for updates.

Example response for a succesful call:

{
"returnValue": true,
"event": "request",
"state": "off",
"subscribed": false
}