MapboxLifecyclePlugin

fun fun interface MapboxLifecyclePlugin : MapPlugin

Defines interface of a MapViewPlugin.

Functions

cleanup
Link copied to clipboard
open fun cleanup()
Called when the map is destroyed.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
initialize
Link copied to clipboard
open fun initialize()
Called when the plugin is first added to the map.
onDelegateProvider
Link copied to clipboard
open fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Provides all map delegate instances.
registerLifecycleObserver
Link copied to clipboard
abstract fun registerLifecycleObserver(mapView: View, observer: MapboxLifecycleObserver)
Register the MapboxLifecycleObserver to observe lifecycle events from LifecycleOwner
toString
Link copied to clipboard
open fun toString(): String

Inheritors

MapboxLifecyclePluginImpl
Link copied to clipboard