RouteCalloutUiStateData
class 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.