postVoiceFeedback

fun MapboxNavigation.postVoiceFeedback(    feedbackSubType: String,     description: String,     screenshot: String,     feedbackMetadata: FeedbackMetadata? = null,     userFeedbackCallback: UserFeedbackCallback)

Send user voice feedback about an issue or problem with the Navigation SDK.

Method can be invoked out of the trip session (whenever until MapboxNavigation.onDestroy is called), because a feedback is attached to passed location and time in the past when FeedbackMetadata was generated (see MapboxNavigation.provideFeedbackMetadataWrapper).

See also

com.mapbox.navigation.ui.maps.util.ViewUtils.capture

to capture screenshots

Parameters

feedbackSubType

feedback subtype FeedbackEvent.SubType or custom feedback subtype

description

description message

screenshot

encoded screenshot

feedbackMetadata

use it to attach feedback to a specific passed location. See FeedbackMetadata and FeedbackMetadataWrapper

userFeedbackCallback

invoked when the posted feedback has been processed

to retrieve possible feedback subtypes for a given feedbackSubType