Skip to main content

PlayerEventListener

PlayerEventListener

PlayerEventListener

interface PlayerEventListener

State Event Listener callbacks the player state

Inheritors

StateEventListener

Functions

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