LunaSysMgr
|
Public methods:
Public.
com.palm.ambientLightSensor/control/status
Get status and optionally enable or disable the ambient light sensor.
subscribe | Set to true to receive status updates. |
disableALS | If subscribe is set to true, set this to true to disable the ambient light sensor. |
returnValue | Indicates if the call was succesful. |
current | Current value of the ambient light sensor. |
average | Average value of the ambient light sensor. |
disabled | True if ambient light sensor is disabled. |
subscribed | True if subscribed to receive status updates. |
returnValue | Indicates if the call was succesful. |
current | Current value of the ambient light sensor. |
region | A value between 0-4 describing the amount of ambient light:
|
Example response for a succesful call:
Example status updates: