VideoSizeChanged

data class VideoSizeChanged(width: Int, height: Int, aspectRatio: Float) : PlayerEvent

Emitted when the current size of the video content has changed.

Constructors

VideoSizeChanged
Link copied to clipboard
fun VideoSizeChanged(width: Int, height: Int, aspectRatio: Float)

Properties

aspectRatio
Link copied to clipboard
val aspectRatio: Float
The new aspect ratio.
height
Link copied to clipboard
val height: Int
The new height in pixels.
width
Link copied to clipboard
val width: Int
The new width in pixels.

Inherited properties

timestamp
Link copied to clipboard
var timestamp: Long
The time at which the event was emitted.