Class NmeaDataSource.LocationChangedEvent

    • Constructor Detail

      • LocationChangedEvent

        public LocationChangedEvent​(NmeaDataSource source,
                                    NmeaDataSource.Location location)
        Creates a new LocationChangedEvent with the given NmeaDataSource and Location.
        Parameters:
        source - the NmeaDataSource that raised the event
        location - the new Location of the NmeaDataSource
        Since:
        100.3.0
    • Method Detail

      • getSource

        public NmeaDataSource getSource()
        Gets the NmeaDataSource that raised the event.
        Overrides:
        getSource in class EventObject
        Returns:
        the NmeaDataSource that raised the event
        Since:
        100.3.0
      • getLocation

        public NmeaDataSource.Location getLocation()
        Gets the new Location of the NmeaDataSource
        Returns:
        the new Location
        Since:
        100.3.0