VideoStreamPlayer.VideoStreamPlayerCallback

public static interface VideoStreamPlayer.VideoStreamPlayerCallback

Callbacks that the player must fire.

Public Method Summary

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 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

Send feedback about...

IMA DAI SDK for Android
Need help? Visit our support page.