FeedbackHelper

Provides utilities for working with feedback

Functions

Link copied to clipboard
fun encodeScreenshot(screenshot: Bitmap, options: BitmapEncodeOptions = BitmapEncodeOptions.Builder().build()): String

Scales and compresses a Bitmap, then encodes the result to a Base64 string. Returned String can be passed to MapboxNavigation.postUserFeedback function.

Link copied to clipboard

Returns feedback types to send during Active Navigation.

Link copied to clipboard

Returns feedback types to send upon arrival at the destination point.

Link copied to clipboard

Returns feedback subtypes that can be sent with a given feedbackType.

Link copied to clipboard

Returns feedback types to send during Free Drive.