Interface EventTextListener


public interface EventTextListener

This interface should be implemented in order to receive notifications when text notifications are available from Navigator. Multiple notifications can be given for the same maneuver at different distances.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called whenever there is a new text notification for a maneuver (multiple notifications can be given for the same maneuver at different distances (for example: "After 500 meters turn right." or "Now turn right.") and in that case, this method will be called once for each distance.
  • Method Details

    • onEventTextUpdated

      void onEventTextUpdated(@NonNull EventText eventText)

      Called whenever there is a new text notification for a maneuver (multiple notifications can be given for the same maneuver at different distances (for example: "After 500 meters turn right." or "Now turn right.") and in that case, this method will be called once for each distance.

      Parameters:
      eventText -

      Data related to next text announcement.