|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Device
This interface defines methods to retrieve infomation on the device object and to send keys that the device object has.
| Field Summary | |
|---|---|
static int |
INVALID_DEVICE_ID
|
| Method Summary | |
|---|---|
DeviceCategory |
getCategory()
Returns the device's category. |
java.lang.String |
getDeviceName()
Returns the device's name. |
int |
getInstanceId()
Returns the device's ID. |
java.util.List<Key> |
getKeyList()
Returns keys that this device has. |
java.lang.String |
getManufacturerName()
Returns a manufacturer name of the device. |
boolean |
sendKey(Key key)
Request to send IR code. |
boolean |
startRepeatKey(Key key)
Request to send IR code repeatedly. |
void |
stopRepeatKey()
Request to stop sending IR code repeatedly. |
| Field Detail |
|---|
static final int INVALID_DEVICE_ID
| Method Detail |
|---|
int getInstanceId()
INVALID_DEVICE_IDDeviceCategory getCategory()
java.lang.IllegalStateException - if IrManager is not activated.
If this device is invalid.java.lang.String getManufacturerName()
java.lang.IllegalStateException - if IrManager is not activated.
If this device is invalid.java.lang.String getDeviceName()
java.lang.IllegalStateException - if IrManager is not activated.
If this device is invalid.java.util.List<Key> getKeyList()
java.lang.IllegalStateException - if IrManager is not activated.
If this device is invalid.boolean sendKey(Key key)
key - a key to send.
java.lang.IllegalStateException - if IrManager is not activated.
If this device is invalid.boolean startRepeatKey(Key key)
key - a key to send.
java.lang.IllegalStateException - if IrManager is not activated.
If this device is invalid.void stopRepeatKey()
java.lang.IllegalStateException - if IrManager is not activated.
If this device is invalid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||