Player Events - Storm iOS Player

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.
Table 1. Player events table.
Next Step

In the next step you'll learn more about available API methods in API Methods guide.

Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

On this page

Player Events

Next Step