toggle menu
pspdfkit
PSPDFKit
switch theme
search in API
pspdfkit
/
com.pspdfkit.media
/
MediaWebView
Media
Web
View
open
class
MediaWebView
:
WebView
,
MediaViewController
A web view for displaying web content.
Members
Constructors
Media
Web
View
Link copied to clipboard
constructor
(
context
:
Context
)
constructor
(
context
:
Context
,
attrs
:
AttributeSet
)
constructor
(
context
:
Context
,
attrs
:
AttributeSet
,
defStyleAttr
:
Int
)
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.