|
Mobile Sensor API Version 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Control
A Control
object represents a sensor control
enabling the sensor's control.
Method Summary | |
---|---|
void |
execute()
The method executes the control. |
java.lang.String |
getName()
The method returns the name of the Control . |
Method Detail |
---|
void execute()
The method executes the control.
In the case of having a separately published Control
interface of your own and thus several methods for execution, this
method may be used as a "reset()
" method.
java.lang.IllegalStateException
- if the sensor
is in an illegal state regarding the execution of the
control, or if the method is not supported.java.lang.String getName()
The method returns the name of the Control
.
The name of the control MUST be the fully-qualified name of the class.
There are four control examples
represented in the specification whose names
do not follow this rule. The names of these controls are
plain class names without the path, namely:
MeasurementRangeControl
SampleRateControl
StartControl
StopControl
Control
|
Mobile Sensor API Version 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |