|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.citar.diablu.nxt.brick.NXTBrick
public class NXTBrick
The NXTBrick class just holds de connection channel for the Brick.
Constructor Summary | |
---|---|
NXTBrick(NXTCommChannel channel)
Creates a new instance of NXTBrick |
Method Summary | |
---|---|
int |
getBatteryLevel()
Returns the battery level. |
NXTCommChannel |
getChannel()
Returns the channel used to communicate. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NXTBrick(NXTCommChannel channel)
channel
- The NXTCommChannel used to communicate with the brick.Method Detail |
---|
public NXTCommChannel getChannel()
public int getBatteryLevel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |