|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.rim.device.api.system.LED
LED API
| Field Summary | ||
static int |
BRIGHTNESS_100
LED 100% brightness |
|
static int |
BRIGHTNESS_12
LED 12% brightness |
|
static int |
BRIGHTNESS_25
LED 25% brightness |
|
static int |
BRIGHTNESS_50
LED 50% brightness |
|
static int |
STATE_BLINKING
Turns LED on blinking |
|
static int |
STATE_OFF
Turns LED off |
|
static int |
STATE_ON
Turns LED on solid |
|
| Method Summary | ||
static void |
setConfiguration(int onTime,
int offTime,
int brightness)
Configures the LED. |
|
static void |
setState(int state)
Sets the LED state. |
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
| Method Detail |
public static void setConfiguration(int onTime,
int offTime,
int brightness)
onTime - Time in milliseconds the LED should turn on for if blinking.offTime - Time in milliseconds the LED should turn off for if blinking.brightness - One of
BRIGHTNESS_12,
BRIGHTNESS_25,
BRIGHTNESS_50,
BRIGHTNESS_100.public static void setState(int state)
state - One of
STATE_ON,
STATE_OFF,
STATE_BLINKING.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.