fun Context.getThumbnail(file: File): Bitmap?
Attempt to retrieve the thumbnail of given File from the MediaStore. This should not be called on the UI thread.
fun Context.getThumbnail(uri: Uri): Bitmap?
fun Context.getThumbnail(uri: Uri?, mimeType: String): Bitmap?
Attempt to retrieve the thumbnail of given Uri from the MediaStore. This should not be called on the UI thread.