Package com.mapbox.maps.plugin.location.listeneres

Types

CancelableCallback
Link copied to clipboard

Interface definition for a callback to be invoked when a task is complete or cancelled.

interface CancelableCallback
CompassListener
Link copied to clipboard

Callbacks related to the compass

interface CompassListener
OnCameraTrackingChangedListener
Link copied to clipboard

Listener that gets invoked when camera tracking state changes.

interface OnCameraTrackingChangedListener
OnDeveloperAnimationListener
Link copied to clipboard

Internal use.

fun fun interface OnDeveloperAnimationListener
OnLocationCameraTransitionListener
Link copied to clipboard

Callback for CameraMode transition state.

interface OnLocationCameraTransitionListener
OnLocationClickListener
Link copied to clipboard

The Location Component exposes an API for listening to when the user clicks on the location layer icon visible on the map. When this event occurs, the .onLocationComponentClick method gets invoked.

fun fun interface OnLocationClickListener
OnLocationLongClickListener
Link copied to clipboard

The Location Component exposes an API for listening to when the user long clicks on the location layer icon visible on the map. when this event occurs, the onLocationComponentLongClick method gets invoked.

interface OnLocationLongClickListener
OnLocationStaleListener
Link copied to clipboard

Listener that can be added as a callback when the last location update is considered stale.

The time from the last location update that determines if a location update is stale or not is provided by staleStateTimeout .

interface OnLocationStaleListener
OnRenderModeChangedListener
Link copied to clipboard

Listener that gets invoked when layer render mode changes.

fun fun interface OnRenderModeChangedListener