com.supermap.navi
Interface NaviListener
-
public interface NaviListener
Navigation listener.The navigation module reports users the navigation status through this listener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
onAarrivedDestination()
Callback when you arrive at destination.void
onAdjustFailure()
Callback when failed to match the roads.void
onNaviInfoUpdate(NaviInfo naviInfo)
Updates navigation information.void
onPlayNaviMessage(java.lang.String message)
Play voice navigation.void
onStartNavi()
Callback when navigation starts.void
onStopNavi()
Callback when navigation stops.
-
-
-
Method Detail
-
onNaviInfoUpdate
void onNaviInfoUpdate(NaviInfo naviInfo)
Updates navigation information.- Parameters:
naviInfo
- Guidance information
-
onStartNavi
void onStartNavi()
Callback when navigation starts.
-
onAarrivedDestination
void onAarrivedDestination()
Callback when you arrive at destination.
-
onStopNavi
void onStopNavi()
Callback when navigation stops.
-
onAdjustFailure
void onAdjustFailure()
Callback when failed to match the roads.
-
onPlayNaviMessage
void onPlayNaviMessage(java.lang.String message)
Play voice navigation.- Parameters:
message
- voice message
-
-