toggle menu
pspdfkit
PSPDFKit
switch theme
search in API
pspdfkit
/
com.pspdfkit.document
/
ImageDocumentUtils
Image
Document
Utils
open
class
ImageDocumentUtils
Collection of helper methods for working with
ImageDocument
s.
Members
Constructors
Image
Document
Utils
Link copied to clipboard
constructor
(
)
Functions
is
Image
Uri
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.
refresh
Media
Store
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.