Difference between revisions of "Application:LEDService"
Jump to navigation
Jump to search
Decimation (talk | contribs) |
Decimation (talk | contribs) |
||
Line 10: | Line 10: | ||
Then: | Then: | ||
− | ;getBrightnessLeftLED | + | ;getBrightnessLeftLED :allows you to get the current integer valued brightness of the Left LED in the gesture area. |
− | ;getBrightnessCenterLED | + | ;getBrightnessCenterLED :allows you to get the current integer valued brightness of the Right LED in the gesture area. |
− | ;getBrightnessRightLED | + | ;getBrightnessRightLED :allows you to get the current integer valued brightness of the Center LED in the gesture area. |
Revision as of 02:06, 10 August 2009
Summary
This service provides access to the LED's brightness settings. As of webOS 1.1.0, is not accessible from application development. With this service, it can be accessed by an application.
This service has three methods which are exposed to the user, along with three opposite methods.
- setBrightnessLeftLED(int value)
- allows you to set the brightness of the Left LED in the gesture area.
- setBrightnessCenterLED(int value)
- allows you to set the brightness of the Center LED in the gesture area.
- setBrightnessRightLED(int value)
- allows you to set the brightness of the Right LED in the gesture area.
Then:
- getBrightnessLeftLED
- allows you to get the current integer valued brightness of the Left LED in the gesture area.
- getBrightnessCenterLED
- allows you to get the current integer valued brightness of the Right LED in the gesture area.
- getBrightnessRightLED
- allows you to get the current integer valued brightness of the Center LED in the gesture area.