data class SxVideoPlayerEvent
Event contains all state relevant video player properties.
<init> |
Event contains all state relevant video player properties. SxVideoPlayerEvent(playbackState: PlaybackState = PlaybackState.IDLE, position: Long = 0, duration: Long = -1, contentUrl: String? = null, videoIndex: Long = -1L, lastError: SxMediaError? = null) |
contentUrl |
Url of the media file. val contentUrl: String? |
duration |
Duration of the content media in milliseconds. val duration: Long |
lastError |
val lastError: SxMediaError? |
playbackState |
Current state of the content media playback. val playbackState: PlaybackState |
position |
Position of the content media in milliseconds. val position: Long |
videoIndex |
val videoIndex: Long |