encodeScreenshot
fun encodeScreenshot(screenshot: Bitmap, options: BitmapEncodeOptions = BitmapEncodeOptions.Builder().build()): String
Content copied to clipboard
Scales and compresses a Bitmap, then encodes the result to a Base64 string. Returned String can be passed to MapboxNavigation.postUserFeedback function.
Return
encoded screenshot as a Base64 string