lejos.gps
Interface GPSListener

All Superinterfaces:
EventListener

public interface GPSListener
extends EventListener

This is the interface to manage events with GPS

Author:
Juan Antonio Brenha Moral

Method Summary
 void sentenceReceived(NMEASentence sen)
          Called whenever a new NMEA sentence is produced by the GPS receiver.
 

Method Detail

sentenceReceived

void sentenceReceived(NMEASentence sen)
Called whenever a new NMEA sentence is produced by the GPS receiver. To identify the type of NMEA sentence received, use NMEASentence.getHeader(). Then cast the sentence into the appropriate type. e.g. (GGASentence)sen