Mobile Sensor API Version 1.2

Uses of Interface
javax.microedition.sensor.Condition

Packages that use Condition
javax.microedition.sensor This package provides the classes and interfaces of the Mobile Sensor API mandatory part. 
 

Uses of Condition in javax.microedition.sensor
 

Classes in javax.microedition.sensor that implement Condition
 class LimitCondition
          LimitCondition is a Condition intended for numeric data to set various kind of conditions.
 class ObjectCondition
           The ObjectCondition checks the equality of the set limit to the measured data value.
 class RangeCondition
          RangeCondition checks if the measured data value is within the defined range.
 

Methods in javax.microedition.sensor that return Condition
 Condition[] Channel.getConditions(ConditionListener listener)
          Returns the Condition objects set for the given listener
 

Methods in javax.microedition.sensor with parameters of type Condition
 void Channel.addCondition(ConditionListener listener, Condition condition)
           Sets a Condition object to be monitored.
 void ConditionListener.conditionMet(SensorConnection sensor, Data data, Condition condition)
          Notifies the application that a measured value from a sensor has met the defined Condition.
 void Channel.removeCondition(ConditionListener listener, Condition condition)
           Removes a given Condition and ConditionListener object pair from this Channel.
 


Mobile Sensor API Version 1.2

Copyright © 2005-2008 Nokia Corporation. All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.