StateEventListener
StateEventListener
[androidJvm]
interface StateEventListener : PlaybackEventListener, PlayerEventListener
State Event Listener callbacks the PaaS State, including Playback state, Player state.
Functions
Name | Summary |
---|---|
onContentChanged | [androidJvm] open suspend fun onContentChanged(content: Content): UniErrorEvent Called when the content information is changed. |
onPlayerStateChanged | [androidJvm] open fun onPlayerStateChanged(playWhenReady: Boolean, playbackState: [UniProvider.PlaybackState]) Called when player state is changed. |
onVideoSizeChanged | [androidJvm] open fun onVideoSizeChanged(width: Int, height: Int, unappliedRotationDegrees: Int, pixelWidthHeightRatio: Float) Called when the video size is changed. |