VMELifeCycleListener

abstract class VMELifeCycleListener

Interface definition of methods that are invoked when life cycle events occur

Since

1.12

VMELifeCycleListener lifeCycleListener = new VMELifeCycleListener() {
@Override
public void mapDidLoad() {
// ...
}
};
mMapController.setLifecycleListener(lifeCycleListener);
mMapController.loadMapData();

Constructors

Link copied to clipboard
fun VMELifeCycleListener()

Functions

Link copied to clipboard
open fun mapDataDidLoad(venueInfo: VMEVenueInfo)
open fun mapDataDidLoad(venueData: JSONObject)

Invoked when the map data has been loaded by the 3D Engine

Link copied to clipboard
open fun mapDidDisplayPoiInfo(poiID: String?)

Invoked when the poi info is displayed above the map

Link copied to clipboard
open fun mapDidDisplayRoute(result: VMERouteResult?)

Invoked when a route is displayed within the map

Link copied to clipboard
open fun mapDidDisplayRouteSetup()

Invoked when the route setup view is displayed above the map

Link copied to clipboard
open fun mapDidDisplaySearch()

Invoked when the search view is displayed above the map

Link copied to clipboard
open fun mapDidGainFocus()

Invoked when the map has returned to normal focus. Normal focus indicates that no other views appear above the map.

Link copied to clipboard
open fun mapViewDidLoad()

Invoked when the map view has been loaded and is ready to gain focus