ImageDocumentUtils

Collection of helper methods for working with ImageDocuments.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun isImageUri(@NonNull context: Context, @NonNull uri: Uri): Boolean
Checks whether the content returned by resolving uri has an image MIME type.
Link copied to clipboard
open fun refreshMediaStore(@NonNull context: Context, @NonNull imageDocument: ImageDocument)
Sends a media scanner broadcast intent that will trigger a re-scanning of the 's original image file.