|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Phone lamp interface.
| Field Summary | |
static int |
LAMPMODE_BROKENFLUTTER
The lamp mode is BROKENFLUTTER, which is the superposition of flash and flutter. |
static int |
LAMPMODE_FLASH
The lamp mode is FLASH, which means slow on and off. |
static int |
LAMPMODE_FLUTTER
The lamp mode is FLUUTER, which means fast on and off. |
static int |
LAMPMODE_OFF
The lamp mode is OFF. |
static int |
LAMPMODE_STEADY
The lamp is STEADY, which means continuously lit. |
static int |
LAMPMODE_WINK
The lamp mode is WINK. |
| Method Summary | |
PhoneButton |
getAssociatedPhoneButton()
Returns the button associated with the lamp. |
int |
getMode()
Returns the current lamp mode. |
int[] |
getSupportedModes()
Returns an array of supported lamp modes. |
void |
setMode(int mode)
Sets the current lamp mode to a mode supported by the lamp and returns by getSupportedModes(). |
| Methods inherited from interface javax.telephony.phone.Component |
getCapabilities, getName |
| Field Detail |
public static final int LAMPMODE_OFF
public static final int LAMPMODE_FLASH
public static final int LAMPMODE_STEADY
public static final int LAMPMODE_FLUTTER
public static final int LAMPMODE_BROKENFLUTTER
public static final int LAMPMODE_WINK
| Method Detail |
public int[] getSupportedModes()
public void setMode(int mode)
throws InvalidArgumentException
mode - The desired lamp mode.
InvalidArgumentException - The provided lamp mode is not valid.public int getMode()
public PhoneButton getAssociatedPhoneButton()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||