javax.microedition.sensor
Class UltrasonicChannelInfo
java.lang.Object
javax.microedition.sensor.NXTChannelInfo
javax.microedition.sensor.UltrasonicChannelInfo
- All Implemented Interfaces:
- ChannelInfo
public class UltrasonicChannelInfo
- extends NXTChannelInfo
Implementation of the ChannelInfo interface for a proximity channel implemented by the
LEGO ultrasonic sensor.
- Author:
- Lawrie Griffiths
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UltrasonicChannelInfo
public UltrasonicChannelInfo()
getMeasurementRanges
public MeasurementRange[] getMeasurementRanges()
getName
public String getName()
getScale
public int getScale()
- Specified by:
getScale
in interface ChannelInfo
- Overrides:
getScale
in class NXTChannelInfo
getUnit
public Unit getUnit()
- Specified by:
getUnit
in interface ChannelInfo
- Overrides:
getUnit
in class NXTChannelInfo