Events - Storm iOS Player

Player events are related to the player behaviors (not the video/stream itself).

Event nameParametersDescription
onPlayClicked()-Invoked when play button is pressed.
onPauseClicked()volume – new video volumeInvoked 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 timelineInvoked when timeline pointer is reaches final position.
onErrorScreenShow(message: String)message – error messageInvoked 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.