|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.bluemelon.bluesense.Device
public abstract class Device
The device class holds common information for all BlueSense devices (eg. the identifier). It also defines some operations which can be done on all types of devices.
| Method Summary | |
|---|---|
void |
addDeviceEventListener(DeviceEventListener l)
|
boolean |
detect(int timeOut)
Tries to detect this device. |
int |
getFirmwareVersion()
|
int |
getId()
|
int |
getType()
|
java.lang.String |
getTypeName()
|
boolean |
isAccessible()
Checks if the device is accessible. |
void |
removeDeviceEventListener(DeviceEventListener l)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean isAccessible()
public boolean detect(int timeOut)
timeOut - how long to detect
public int getType()
public java.lang.String getTypeName()
public int getId()
public int getFirmwareVersion()
public void addDeviceEventListener(DeviceEventListener l)
public void removeDeviceEventListener(DeviceEventListener l)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||