javax.microedition.sensor
Interface ChannelInfo

All Known Implementing Classes:
AccelerationChannelInfo, BatteryChannelInfo, ColorChannelInfo, ColorIndexChannelInfo, ColorRGBChannelInfo, GyroChannelInfo, HeadingChannelInfo, LightChannelInfo, NXTChannelInfo, SoundChannelInfo, TemperatureChannelInfo, TiltChannelInfo, TouchChannelInfo, UltrasonicChannelInfo

public interface ChannelInfo

Standard JSR256 ChannelInfo interface

Author:
Lawrie Griffiths

Field Summary
static int TYPE_DOUBLE
           
static int TYPE_INT
           
static int TYPE_OBJECT
           
 
Method Summary
 float getAccuracy()
           
 int getDataType()
           
 MeasurementRange[] getMeasurementRanges()
           
 String getName()
           
 int getScale()
           
 Unit getUnit()
           
 

Field Detail

TYPE_DOUBLE

static final int TYPE_DOUBLE
See Also:
Constant Field Values

TYPE_INT

static final int TYPE_INT
See Also:
Constant Field Values

TYPE_OBJECT

static final int TYPE_OBJECT
See Also:
Constant Field Values
Method Detail

getAccuracy

float getAccuracy()

getDataType

int getDataType()

getMeasurementRanges

MeasurementRange[] getMeasurementRanges()

getName

String getName()

getScale

int getScale()

getUnit

Unit getUnit()