toggle menu
pspdfkit
PSPDFKit
switch theme
search in API
pspdfkit
/
com.pspdfkit.media
/
MediaGalleryView
Media
Gallery
View
open
class
MediaGalleryView
:
ViewPager
,
MediaViewController
A view for displaying a gallery within the PDF document.
Members
Constructors
Media
Gallery
View
Link copied to clipboard
constructor
(
@
NonNull
context
:
Context
)
constructor
(
@
NonNull
context
:
Context
,
@
Nullable
attrs
:
AttributeSet
)
Functions
close
Link copied to clipboard
open
fun
close
(
)
Close currently played media file.
set
Media
View
Listener
Link copied to clipboard
open
fun
setMediaViewListener
(
@
Nullable
listener
:
MediaViewListener
)
Sets a listener for media content preparation.
start
Link copied to clipboard
open
fun
start
(
@
NonNull
optionsJson
:
String
,
@
NonNull
url
:
String
)
Start media playback.