addMapIdleListener method - HereMapControllerCore class - mapview library - Dart API
addMapIdleListener
addMapIdleListener abstract method
- MapIdleListener listener
Adds a listener for receiving idle state notifications and notifies it of the current state.
The first notification received is always the state at the time of registration.
The new listener is appended to the set
of HereMap idle listeners as a strong reference.
The caller is responsible for releasing the strong reference by calling
HereMapControllerCore.removeMapIdleListener.
The idle state notifications can occur on an arbitrary thread.
listenerThe listener
Implementation
void addMapIdleListener(MapIdleListener listener);