VideoSize

Added in 1.0.0
Deprecated in 1.3.0

class VideoSize : VideoSize


Immutable class for describing video size.

Summary

Public constructors

VideoSize(width: Int, height: Int)

Inherited functions

From androidx.media2.common.VideoSize
Boolean
equals(obj: Any?)

Checks if this video size is equal to another video size.

@IntRange(from = 0) Int

Returns the height of the video.

@IntRange(from = 0) Int

Returns the width of the video.

Int
String

Return the video size represented as a string with the format "WxH"

Public constructors

VideoSize

Added in 1.0.0
Deprecated in 1.3.0
VideoSize(width: Int, height: Int)