RouteCalloutUiStateData

UI state for route callout. Normally, route callouts are drawn under the hood in NavSDK when this feature is enabled in com.mapbox.navigation.ui.maps.route.line.model.MapboxRouteLineApiOptions. However, there might be cases when app wants to only get the callout data from NavSDK and attach the DVA itself. An example of such a case is using Mapbox Maps SDK Compose extensions: attaching a DVA for Compose MapboxMap is done via compose-specific API, which is not currently supported by NavSDK. In this case you may listen to RouteCalloutUiStateData updates and use its information by attach a DVA. See RouteCalloutUiStateProvider for details on how to subscribe.

Parameters

callouts

a list of currently relevant route callouts, see RouteCalloutUiState for details.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.