postUserFeedback

fun postUserFeedback(userFeedback: UserFeedback)

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).

Parameters

userFeedback

feedback data


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

Deprecated

This function is deprecated

Replace with

postUserFeedback(UserFeedback)

This function is deprecated, use postUserFeedback(UserFeedback) instead.

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

Parameters

feedbackType

one of FeedbackEvent.Type or a custom one

description

description message

feedbackSource

source of feedback. Deprecated, will be ignored

screenshot

encoded screenshot

feedbackSubType

optional array of FeedbackEvent.SubType and/or custom subtypes

See also

to retrieve possible feedback subtypes for a given feedbackType

ViewUtils.capture

to capture screenshots

to encode screenshots


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

Deprecated

This function is deprecated

Replace with

postUserFeedback(UserFeedback)

This function is deprecated, use postUserFeedback(UserFeedback) instead.

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).

Parameters

feedbackType

one of FeedbackEvent.Type or a custom one

description

description message

feedbackSource

source of feedback. Deprecated, will be ignored

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

See also

to retrieve possible feedback subtypes for a given feedbackType

ViewUtils.capture

to capture screenshots

to encode screenshots