|
LunaSysMgr
|
Public methods:
Public.
com.palm.keys/audio/status
Subscribe to audio key status changes.
| subscribe | Set to true to subscribe to status changes. |
| errorCode | Code for the error if call was not succesful. |
| errorText | Describes the error if call was not succesful. |
| returnValue | Indicates if the call was succesful. |
| subscribed | True if subscription to status changes is made. |
Example response for a succesful call:
Example response for a failed call:
Public.
com.palm.keys/media/status
Subscribe to media key status changes.
| subscribe | Set to true to subscribe to status changes. |
| errorCode | Code for the error if call was not succesful. |
| errorText | Describes the error if call was not succesful. |
| returnValue | Indicates if the call was succesful. |
| subscribed | True if subscription to status changes is made. |
Example response for a succesful call:
Example response for a failed call:
Public.
com.palm.keys/switches/status
Subscribe to switch state changes or request the state of a particular switch.
| subscribe | Set to true to subscribe to status changes. |
| get | Name of the swtich, for example ringer, slider, etc. |
| returnValue | Indicates if the call was succesful. |
| subscribe | True if subscribed to switch status changes. |
| key | Name of the switch. |
| state | State of the switch. |
| returnValue | Indicates if the call was succesful. |
Example response for a succesful request call:
Example response for a succesful subscription call:
Example response for a failed call:
Public.
com.palm.keys/headset/status
Subscribe to headset key events. Currently only "headset_button" exists with "up" "down" "hold" "single_press" and "double_press" states.
| subscribe | Set to true to subscribe to status changes. |
| errorCode | Code for the error if call was not succesful. |
| errorText | Describes the error if call was not succesful. |
| returnValue | Indicates if the call was succesful. |
| subscribed | True if subscription to status changes is made. |
Example response for a succesful call:
Example response for a failed call: