MapTrip SDK Android Manual 9.9.7
PoiSearchListener Interface Reference

The PoiSearch calbacks inform about search progress and notifications (see PoiSearch.startNotifier())

Public Member Functions

boolean poiHandling (PoiHandlingCallbackType callbackType, PoiSource affectedPoiSource)
 
boolean poiNotificationReceived (Waypoint poi)
 

Member Function Documentation

◆ poiHandling()

boolean poiHandling ( PoiHandlingCallbackType  callbackType,
PoiSource  affectedPoiSource 
)

Is called when poi sources have finished initialization or if poi source was updated.

Parameters
iCbType- Reason for this callback
affectedPoiSource- Iterator for new or updated categories.
Returns
currently not used.

◆ poiNotificationReceived()

boolean poiNotificationReceived ( Waypoint  poi)

Is called when the poi notifier detects a new poi on the route (if available) or just in driving direction.

Parameters
poi- Waypoint of the POI
Returns
true = Go on with warning for this poi, false = Stop warning for this poi.

The documentation for this interface was generated from the following file: