Constants | ||
---|---|---|
int | INVALID_DEVICE_ID |
Public Methods | |
---|---|
int |
getInstanceId()
Returns the device's ID. |
DeviceCategory |
getCategory()
Returns the device's category. |
java.lang.String |
getManufacturerName()
Returns a manufacturer name of the device. |
java.lang.String |
getDeviceName()
Returns the device's name. |
java.util.List<Key> |
getKeyList()
Returns keys that this device has. |
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. |
Constant Value: 0 (0x00000000)
Returns the device's category. Synchronous method.
the device category. If failed, return null.
Returns a manufacturer name of the device. Synchronous method.
manufacturer name. If failed, return null.
Returns the device's name. Synchronous method.
device name. If failed, return null.
Returns keys that this device has. Synchronous method.
the keys of the device except custom key. If failed, return null.
Request to send IR code. Asynchronous method.
key | a key to send. |
---|
success to request or not.
Request to send IR code repeatedly. Asynchronous method.
key | a key to send. |
---|
success to request or not.
Request to stop sending IR code repeatedly. Asynchronous method.
This interface defines methods to retrieve infomation on the device object and to send keys that the device object has.