VideoStreamPlayer.VideoStreamPlayerCallback

public static interface VideoStreamPlayer.VideoStreamPlayerCallback

Callbacks that the player must fire.

Public Method Summary

abstract void
onContentComplete()
Fire this callback when all content has finished playing.
abstract void
onPause()
Fire this callback when the video is paused.
abstract void
onResume()
Fire this callback when the video is resumed.
abstract void
onUserTextReceived(String userText)
Fire this callback when a timed metadata ID3 event corresponding to user-defined text is received.
abstract void
onVolumeChanged(int percentage)
Fire this callback when the video player volume changes.

Public Methods

public abstract void onContentComplete ()

Fire this callback when all content has finished playing. This will allow the SDK to play post-roll ads, if any are loaded through ad rules.

public abstract void onPause ()

Fire this callback when the video is paused.

public abstract void onResume ()

Fire this callback when the video is resumed.

public abstract void onUserTextReceived (String userText)

Fire this callback when a timed metadata ID3 event corresponding to user-defined text is received. To extract the user text, the metadata must be parsed, and the value associated with the TXXX key must be passed. For more information about user text events, see http://id3.org/id3v2.4.0-frames.

Parameters
userText

public abstract void onVolumeChanged (int percentage)

Fire this callback when the video player volume changes.

Parameters
percentage