MapboxLifecyclePlugin
Defines interface of a MapViewPlugin.
Functions
initialize
Link copied to clipboard
open fun initialize()
Content copied to clipboard
Called when the plugin is first added to the map.
onDelegateProvider
Link copied to clipboard
Provides all map delegate instances.
registerLifecycleObserver
Link copied to clipboard
abstract fun registerLifecycleObserver(mapView: View, observer: MapboxLifecycleObserver)
Content copied to clipboard
Register the MapboxLifecycleObserver to observe lifecycle events from LifecycleOwner