org.placelab.spotter
Interface SpotterListener

All Known Subinterfaces:
ScanOnceListener
All Known Implementing Classes:
BluetoothGPSSpotterMidlet, BluetoothSpotterMidlet, GPSTimeMidlet, GSMBTMidlet, GSMSpotterMidlet, ListenerBluetoothGPSSpotter, NMEAGPSSpotterTests, PhoneStumblerManager, PlacelabExampleMidlet, Receiver, SpotterExtension, StumblerFunnel, Tracker

public interface SpotterListener

SpotterListener is the basic interface for receiving callbacks from asynchronous Spotter operations. Callbacks are sent either in the Spotter's thread, which may not be the same as the thread in which the Spotter was started, or using the EventSystem if one is registered with the Spotter.


Method Summary
 void gotMeasurement(Spotter sender, Measurement m)
           
 void spotterExceptionThrown(Spotter sender, SpotterException ex)
           
 

Method Detail

gotMeasurement

public void gotMeasurement(Spotter sender,
                           Measurement m)

spotterExceptionThrown

public void spotterExceptionThrown(Spotter sender,
                                   SpotterException ex)