-
- All Implemented Interfaces:
-
com.pointrlabs.core.management.PTRListener
,com.pointrlabs.core.map.models.events_listeners.PathFindingEventsListener
public class PathFindingEventsHandler implements PathFindingEventsListener
-
-
Constructor Summary
Constructors Constructor Description PathFindingEventsHandler(PTRMapWidgetFragment PTRMapWidgetFragment)
-
Method Summary
Modifier and Type Method Description Unit
pathFindingDidTapClose()
This function is triggered when the close button is tapped. Unit
pathFindingDidShown()
Unit
handleDidTapCloseWhenArrived()
Function that handles the close action when arrived. Unit
handleDidTapCloseWhileInProgress()
Function that handles the close action while path finding is still in progress. -
-
Constructor Detail
-
PathFindingEventsHandler
PathFindingEventsHandler(PTRMapWidgetFragment PTRMapWidgetFragment)
-
-
Method Detail
-
pathFindingDidTapClose
Unit pathFindingDidTapClose()
This function is triggered when the close button is tapped. The default it calls handleDidTapCloseWhenArrived if path finding has already finished, handleDidTapCloseWhileInProgress otherwise.
-
pathFindingDidShown
Unit pathFindingDidShown()
-
handleDidTapCloseWhenArrived
Unit handleDidTapCloseWhenArrived()
Function that handles the close action when arrived. Default behavior is to dismiss path finding view.
-
handleDidTapCloseWhileInProgress
Unit handleDidTapCloseWhileInProgress()
Function that handles the close action while path finding is still in progress. Default behavior is to dismiss path finding view and show the POI detail view for the destination.
-
-
-
-