javax.microedition.sensor
Interface SensorInfo

All Known Implementing Classes:
BatterySensorInfo, HiTechnicColorSensorInfo, HiTechnicCompassSensorInfo, HiTechnicGyroSensorInfo, LightSensorInfo, MindsensorsAccelerationSensorInfo, NXTADSensorInfo, NXTSensorInfo, RCXLightSensorInfo, RCXTemperatureSensorInfo, SoundSensorInfo, TouchSensorInfo, UltrasonicSensorInfo

public interface SensorInfo

Standard JSR256 SensorInfo interface

Author:
Lawrie Griffiths

Field Summary
static int CONN_EMBEDDED
           
static int CONN_REMOTE
           
static int CONN_SHORT_RANGE_WIRELESS
           
static int CONN_WIRED
           
static String CONTEXT_TYPE_AMBIENT
           
static String CONTEXT_TYPE_DEVICE
           
static String CONTEXT_TYPE_USER
           
static String PROP_LATITUDE
           
static String PROP_LOCATION
           
static String PROP_LONGITUDE
           
static String PROP_MAX_RATE
           
static String PROP_VENDOR
           
static String PROP_VERSION
           
 
Method Summary
 ChannelInfo[] getChannelInfos()
           
 int getConnectionType()
           
 String getContextType()
           
 String getDescription()
           
 int getMaxBufferSize()
           
 String getModel()
           
 Object getProperty(String name)
           
 String[] getPropertyNames()
           
 String getQuantity()
           
 String getUrl()
           
 boolean isAvailabilityPushSupported()
           
 boolean isAvailable()
           
 boolean isConditionPushSupported()
           
 

Field Detail

CONN_EMBEDDED

static final int CONN_EMBEDDED
See Also:
Constant Field Values

CONN_REMOTE

static final int CONN_REMOTE
See Also:
Constant Field Values

CONN_SHORT_RANGE_WIRELESS

static final int CONN_SHORT_RANGE_WIRELESS
See Also:
Constant Field Values

CONN_WIRED

static final int CONN_WIRED
See Also:
Constant Field Values

CONTEXT_TYPE_AMBIENT

static final String CONTEXT_TYPE_AMBIENT
See Also:
Constant Field Values

CONTEXT_TYPE_DEVICE

static final String CONTEXT_TYPE_DEVICE
See Also:
Constant Field Values

CONTEXT_TYPE_USER

static final String CONTEXT_TYPE_USER
See Also:
Constant Field Values

PROP_LATITUDE

static final String PROP_LATITUDE
See Also:
Constant Field Values

PROP_LOCATION

static final String PROP_LOCATION
See Also:
Constant Field Values

PROP_LONGITUDE

static final String PROP_LONGITUDE
See Also:
Constant Field Values

PROP_MAX_RATE

static final String PROP_MAX_RATE
See Also:
Constant Field Values

PROP_VENDOR

static final String PROP_VENDOR
See Also:
Constant Field Values

PROP_VERSION

static final String PROP_VERSION
See Also:
Constant Field Values
Method Detail

getChannelInfos

ChannelInfo[] getChannelInfos()

getConnectionType

int getConnectionType()

getContextType

String getContextType()

getDescription

String getDescription()

getMaxBufferSize

int getMaxBufferSize()

getModel

String getModel()

getProperty

Object getProperty(String name)

getPropertyNames

String[] getPropertyNames()

getQuantity

String getQuantity()

getUrl

String getUrl()

isAvailabilityPushSupported

boolean isAvailabilityPushSupported()

isAvailable

boolean isAvailable()

isConditionPushSupported

boolean isConditionPushSupported()