MapFpsDelegate

Constructors

MapFpsDelegate
Link copied to clipboard
open fun MapFpsDelegate(mapView: MapView, batteryMonitor: MapBatteryMonitor)

Functions

addProgressChangeListener
Link copied to clipboard
open fun addProgressChangeListener(navigation: MapboxNavigation)
adjustFpsFor
Link copied to clipboard
open fun adjustFpsFor(routeProgress: RouteProgress)
onStart
Link copied to clipboard
open fun onStart()
onStop
Link copied to clipboard
open fun onStop()
onTrackingModeChanged
Link copied to clipboard
abstract fun onTrackingModeChanged(trackingMode: Int)
Invoked when NavigationCamera tracking mode changes.
open fun onTrackingModeChanged(trackingMode: Int)
Invoked when NavigationCamera tracking mode changes.
onTransitionCancelled
Link copied to clipboard
abstract fun onTransitionCancelled(trackingMode: Int)
Invoked when the transition to a new tracking mode has been cancelled.
open fun onTransitionCancelled(trackingMode: Int)
Invoked when the transition to a new tracking mode has been cancelled.
onTransitionFinished
Link copied to clipboard
abstract fun onTransitionFinished(trackingMode: Int)
Invoked when the camera has finished a transition to a new tracking mode.
open fun onTransitionFinished(trackingMode: Int)
Invoked when the camera has finished a transition to a new tracking mode.
removeProgressChangeListener
Link copied to clipboard
open fun removeProgressChangeListener()
Removes the previously registered progress change listener.
updateEnabled
Link copied to clipboard
open fun updateEnabled(isEnabled: Boolean)
updateMaxFpsThreshold
Link copied to clipboard
open fun updateMaxFpsThreshold(maxFps: Int)

Properties

DEFAULT_MAX_FPS_THRESHOLD
Link copied to clipboard
val DEFAULT_MAX_FPS_THRESHOLD: Int