Package com.mapbox.androidauto.car.feedback.ui
Types
Link copied to clipboard
class CarFeedbackAction( mapboxCarMap: MapboxCarMap, carFeedBackSender: CarFeedbackSender, carFeedbackItemProvider: CarFeedbackItemProvider) : MapboxActionProvider.ScreenActionProvider
Content copied to clipboard
Link copied to clipboard
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)
Content copied to clipboard
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
Content copied to clipboard
This screen allows the user to search for a destination.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun activeGuidanceCarFeedbackProvider(carContext: CarContext): CarFeedbackItemProvider
Content copied to clipboard
Link copied to clipboard
fun buildActiveGuidanceCarFeedbackItems(carContext: CarContext): List<CarFeedbackItem>
Content copied to clipboard
Link copied to clipboard
fun buildArrivalFeedbackProvider(carContext: CarContext): List<CarFeedbackItem>
Content copied to clipboard
Link copied to clipboard
fun buildFreeDriveFeedbackItems(carContext: CarContext): List<CarFeedbackItem>
Content copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
fun buildRoutePreviewCarFeedbackItems(carContext: CarContext): List<CarFeedbackItem>
Content copied to clipboard
Link copied to clipboard
fun buildSearchPlacesCarFeedbackItems( carContext: CarContext, favoriteRecords: List<FavoriteRecord>? = null, searchSuggestions: List<SearchSuggestion>? = null, geoDeeplink: GeoDeeplink? = null, geocodingResponse: GeocodingResponse? = null): List<CarFeedbackItem>
Content copied to clipboard
Link copied to clipboard
fun buildSearchPlacesCarFeedbackProvider( carContext: CarContext, favoriteRecords: List<FavoriteRecord>? = null, searchSuggestions: List<SearchSuggestion>? = null, geoDeeplink: GeoDeeplink? = null, geocodingResponse: GeocodingResponse? = null): CarFeedbackItemProvider
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun routePreviewCarFeedbackProvider(carContext: CarContext): CarFeedbackItemProvider
Content copied to clipboard