Interface GPSListener

  • All Superinterfaces:
    java.util.EventListener

    public interface GPSListener
    extends java.util.EventListener
    This is the interface to manage events with GPS
    Author:
    Juan Antonio Brenha Moral
    • 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