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

Types

Link copied to clipboard
class CarFeedbackAction(    mapboxCarMap: MapboxCarMap,     carFeedBackSender: CarFeedbackSender,     carFeedbackItemProvider: CarFeedbackItemProvider) : MapboxActionProvider.ScreenActionProvider
Link copied to clipboard
sealed class CarFeedbackIcon
Link copied to clipboard
class CarFeedbackItem(    val carFeedbackTitle: String,     val carFeedbackIcon: CarFeedbackIcon,     val navigationFeedbackType: 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
class CarGridFeedbackScreen(    carContext: CarContext,     sourceScreenSimpleName: String,     carFeedbackSender: CarFeedbackSender,     feedbackItems: List<CarFeedbackItem>,     encodedSnapshot: String?,     onFinish: () -> Unit) : Screen

This screen allows the user to search for a destination.

Link copied to clipboard
object ConfusingAudioCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object IncorrectAddressCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object IncorrectLocationCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object IncorrectNameCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object IncorrectVisualCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object NegativeCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object OtherIssueCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object PositioningIssueCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object PositiveCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object RoadClosureCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object RouteNotAllowedCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object RoutingErrorCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object SearchOtherIssueCarFeedbackIcon : CarFeedbackIcon
Link copied to clipboard
object TrafficIssueCarFeedbackIcon : CarFeedbackIcon

Functions

Link copied to clipboard
fun activeGuidanceCarFeedbackProvider(carContext: CarContext): CarFeedbackItemProvider
Link copied to clipboard
fun buildActiveGuidanceCarFeedbackItems(carContext: CarContext): List<CarFeedbackItem>
Link copied to clipboard
fun buildArrivalFeedbackProvider(carContext: CarContext): List<CarFeedbackItem>
Link copied to clipboard
fun buildFreeDriveFeedbackItems(carContext: CarContext): List<CarFeedbackItem>

TODO These can all be moved to their features. Currently implementing in one file while defining the object definitions.

Link copied to clipboard
fun buildFreeDriveFeedbackItemsProvider(carContext: CarContext): CarFeedbackItemProvider
Link copied to clipboard
fun buildRoutePreviewCarFeedbackItems(carContext: CarContext): List<CarFeedbackItem>
Link copied to clipboard
fun buildSearchPlacesCarFeedbackItems(    carContext: CarContext,     favoriteRecords: List<FavoriteRecord>? = null,     searchSuggestions: List<SearchSuggestion>? = null,     geoDeeplink: GeoDeeplink? = null,     geocodingResponse: GeocodingResponse? = null): List<CarFeedbackItem>
Link copied to clipboard
fun buildSearchPlacesCarFeedbackProvider(    carContext: CarContext,     favoriteRecords: List<FavoriteRecord>? = null,     searchSuggestions: List<SearchSuggestion>? = null,     geoDeeplink: GeoDeeplink? = null,     geocodingResponse: GeocodingResponse? = null): CarFeedbackItemProvider
Link copied to clipboard
fun CarFeedbackIcon.drawableRes(): Int
Link copied to clipboard
fun routePreviewCarFeedbackProvider(carContext: CarContext): CarFeedbackItemProvider