Class LocationDataSource.HeadingChangedEvent

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    LocationDataSource

    public final class LocationDataSource.HeadingChangedEvent
    extends EventObject
    An event representing the change of the heading of a LocationDataSource.
    Since:
    100.6.0 for Android and 100.9.0 for Java SE
    See Also:
    Serialized Form
    • Method Detail

      • getSource

        public LocationDataSource getSource()
        Returns the source firing the event.
        Overrides:
        getSource in class EventObject
        Returns:
        the LocationDataSource instance that fired the event
        Since:
        100.6.0 for Android and 100.9.0 for Java SE
      • getHeading

        public double getHeading()
        Returns the heading associated with the event.
        Returns:
        the heading associated with the event
        Since:
        100.6.0 for Android and 100.9.0 for Java SE