Package com.mapbox.androidauto.car.feedback.ui

Types

Link copied to clipboard
class CarFeedbackAction(    mapboxCarMap: MapboxCarMap,     carFeedBackSender: CarFeedbackSender,     carFeedbackPoll: CarFeedbackPoll,     carFeedbackSearchOptionsProvider: CarFeedbackSearchOptionsProvider = CarFeedbackSearchOptionsProvider { CarFeedbackSearchOptions() }) : MapboxActionProvider.ScreenActionProvider
Link copied to clipboard
sealed class CarFeedbackIcon

Represents an icon of a feedback category

Link copied to clipboard
class CarFeedbackItem(    val carFeedbackTitle: String,     val navigationFeedbackType: String? = null,     val navigationFeedbackSubType: List<String>? = null,     val searchFeedbackReason: String? = null,     val favoritesFeedbackReason: String? = null,     val geoDeeplink: GeoDeeplink? = null,     val geocodingResponse: GeocodingResponse? = null,     val favoriteRecords: List<FavoriteRecord>? = null,     val searchSuggestions: List<SearchSuggestion>? = null)

This object is converted to json and sent the navigation history as a custom event.

Link copied to clipboard
data class CarFeedbackOption(    val title: String,     val icon: CarFeedbackIcon,     val type: String? = null,     val subType: List<String>? = null,     val searchFeedbackReason: String? = null,     val favoritesFeedbackReason: String? = null,     val nextPoll: CarFeedbackPoll? = null)

Represents one of the predefined categories users can select when providing feedback

Link copied to clipboard
data class CarFeedbackPoll(val title: String, val options: List<CarFeedbackOption>)

Represents a step in a feedback flow, where users select one of the predefined categories

Link copied to clipboard
class CarGridFeedbackScreen(    carContext: CarContext,     sourceScreenSimpleName: String,     carFeedbackSender: CarFeedbackSender,     initialPoll: CarFeedbackPoll,     encodedSnapshot: String?,     searchOptions: CarFeedbackSearchOptions = CarFeedbackSearchOptions(),     onFinish: () -> Unit) : Screen

This screen allows the user to search for a destination.