Mobile Sensor API Version 1.2

javax.microedition.sensor.control
Interface StopControl

All Superinterfaces:
Control

public interface StopControl
extends Control

A StopControl object is an example of a general control used to stop the sensor by calling its execute() method.

A controllable sensor that can offer the possibility to stop a sensor may provide a StopControl via its getControl() and getControls() methods. If the stop control is provided, it MUST implement this interface. Starting and stopping do not have any relation to opening and closing the sensor.


Method Summary
 
Methods inherited from interface javax.microedition.sensor.control.Control
execute, getName
 


Mobile Sensor API Version 1.2

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