|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.siemens.mp.m55.Ledcontrol
Ledcontrol Class is used to control TOP/BOTTOM LED blinking.
Note: This API is only available on M55 mobile phone!
Field Summary | |
static int |
LED_BOTTOM
This is the unique value for the lower LED. |
static int |
LED_TOP
This is the unique value for the upper LED. |
static int |
P_BEAT
An available pattern. |
static int |
P_CONSTANLY_LITEUP
An available pattern. |
static int |
P_ETERNITY
An available pattern. |
static int |
P_IDLE
An available pattern. |
static int |
P_LIGHTHOUSE
An available pattern. |
static int |
P_LIMELIGHT
An available pattern. |
static int |
P_NORMAL_BLINKING
An available pattern. |
static int |
P_PULSATING
An available pattern. |
static int |
P_RUNWAY
An available pattern. |
static int |
P_SPEED
An available pattern. |
static int |
P_STROBO
An available pattern. |
static int |
P_TRANCE
An available pattern. |
static int |
P_WAVE
An available pattern. |
Method Summary | |
static void |
playPattern(int pattern)
This function can be used to play a pattern. |
static void |
stopPattern()
This function will switch off all the LEDs. |
static void |
switchOFF(int led)
This function will switch off the indicated LED. |
static void |
switchON(int led)
This function will switch on the indicated LED. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LED_TOP
public static final int LED_BOTTOM
public static final int P_SPEED
public static final int P_LIGHTHOUSE
public static final int P_WAVE
public static final int P_BEAT
public static final int P_RUNWAY
public static final int P_TRANCE
public static final int P_ETERNITY
public static final int P_STROBO
public static final int P_LIMELIGHT
public static final int P_NORMAL_BLINKING
public static final int P_PULSATING
public static final int P_CONSTANLY_LITEUP
public static final int P_IDLE
Method Detail |
public static void switchON(int led)
led
- is one of
LED_TOP
,
LED_BOTTOM
public static void playPattern(int pattern)
pattern
- is one of
P_SPEED
,
P_LIGHTHOUSE
,
P_WAVE
,
P_BEAT
,
P_RUNWAY
,
P_TRANCE
,
P_ETERNITY
,
P_STROBO
,
P_LIMELIGHT
,
P_NORMAL_BLINKING
,
P_PULSATING
,
P_CONSTANLY_LITEUP
,
P_IDLE
public static void stopPattern()
public static void switchOFF(int led)
led
- is one of
LED_TOP
,
LED_BOTTOM
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generated on 2003-10-17 | For further information and updates, please visit Siemens mobile Developer Portal |