public interface VideoPlayer
| Modifier and Type | Method and Description |
|---|---|
long |
getVideoDuration()
Gets content video duration
|
long |
getVideoPosition()
Gets current content video position
|
float |
getVolume()
Gets current content video volume with 0 being silence and 1 being maximum volume level
|
void |
pauseVideo()
Pauses playing content video
|
void |
prepareVideo()
Prepares content video
|
void |
resumeVideo()
Resumes playing content video
|
void |
setVideoPlayerListener(VideoPlayerListener listener)
Sets listener for content player events.
|
float getVolume()
long getVideoPosition()
long getVideoDuration()
void prepareVideo()
void pauseVideo()
void resumeVideo()
void setVideoPlayerListener(@Nullable
VideoPlayerListener listener)
listener - Listener for content player events