postUserFeedback

fun postUserFeedback(    feedbackType: String,     description: String,     feedbackSource: String,     screenshot: String,     feedbackSubType: Array<String>? = emptyArray())

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

See also

ViewUtils.capture

to capture screenshots

Parameters

feedbackType

one of FeedbackEvent.Type or a custom one

description

description message

feedbackSource
screenshot

encoded screenshot

feedbackSubType

optional array of FeedbackEvent.SubType and/or custom subtypes


fun postUserFeedback(    feedbackType: String,     description: String,     feedbackSource: String,     screenshot: String,     feedbackSubType: Array<String>? = emptyArray(),     feedbackMetadata: FeedbackMetadata)

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

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

See also

ViewUtils.capture

to capture screenshots

Parameters

feedbackType

one of FeedbackEvent.Type or a custom one

description

description message

feedbackSource
screenshot

encoded screenshot

feedbackSubType

optional array of FeedbackEvent.SubType and/or custom subtypes

feedbackMetadata

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