Modifier and Type | Method and Description |
---|---|
Audio |
getAudio()
return a Audio object which can be used to access the device's audio playback
|
LocalBTDevice |
getBluetoothDevice()
Get the local Bluetooth device
|
GraphicsLCD |
getGraphicsLCD()
Get graphics access to the LCD
|
Key |
getKey(java.lang.String name)
Get access to a specific Key (aka Button)
|
Keys |
getKeys()
Get access to the keys (buttons)
|
LED |
getLED()
Get access to the LED
|
java.lang.String |
getName()
Get he name of the brick
|
Port |
getPort(java.lang.String portName)
Return a port object for the request port name.
|
Power |
getPower()
return a battery object which can be used to obtain battery voltage etc.
|
TextLCD |
getTextLCD()
Get text access to the LCD using the default font
|
TextLCD |
getTextLCD(Font f)
Get text access to the LCD using a specified font
|
java.lang.String |
getType()
Get the type of brick, e.g.
|
Video |
getVideo() |
LocalWifiDevice |
getWifiDevice()
Get the local Wifi device
|
boolean |
isLocal()
Test whether the brick is a local one
|
void |
setDefault()
Set this brick as the default one for static methods
|
Port getPort(java.lang.String portName)
portName
- The name of portPower getPower()
Audio getAudio()
Video getVideo()
TextLCD getTextLCD()
TextLCD getTextLCD(Font f)
f
- the fontGraphicsLCD getGraphicsLCD()
boolean isLocal()
java.lang.String getType()
java.lang.String getName()
LocalBTDevice getBluetoothDevice()
LocalWifiDevice getWifiDevice()
void setDefault()
Keys getKeys()
Key getKey(java.lang.String name)
name
- the key nameLED getLED()