Player events are related to the player behaviors (not the video/stream itself).
Event name | Parameters | Description |
---|---|---|
onPlayClicked() | - | Invoked when play button is pressed. |
onPauseClicked() | volume – new video volume | Invoked when pause button is pressed. |
onEnterFullscreenClicked() | - | Invoked when FullScreen button (enter state) is pressed. |
onExitFullscreenClicked() | - | Invoked when FullScreen button (exit state) is pressed. |
onVideoClicked() | - | Invoked when player video screen is pressed. |
onQualitySelect(quality: String) | - | Invoked when viewer changes video quality. |
onSeekBarSetValue(value: Float) | value – current position on the timeline (value 0-10000) | Invoked when timeline pointer is changed. |
onSeekBarSetTime(seekTime: Int64) | seekTime – current position on the stream timeline | Invoked when timeline pointer is reaches final position. |
onErrorScreenShow(message: String) | message – error message | Invoked when an error message appears. |
onErrorScreenHide() | - | Invoked when an error message disappears. |