toggle menu
pspdfkit
PSPDFKit
switch theme
search in API
pspdfkit
/
com.pspdfkit.annotations
/
AssetAnnotation
Asset
Annotation
abstract
class
AssetAnnotation
:
LinkAnnotation
Abstract subclass that contains an asset from a link.
Inheritors
MediaAnnotation
Members
Functions
get
Asset
Name
Link copied to clipboard
@
Nullable
open
fun
getAssetName
(
)
:
String
Returns the name of the asset to which this annotation is pointing to, or empty string.
get
File
Uri
Link copied to clipboard
@
NonNull
open
fun
getFileUri
(
@
NonNull
context
:
Context
,
@
NonNull
pdfDocument
:
PdfDocument
)
:
Uri
Extracts asset into a file and returns the file Uri.