VideoSize

Added in 1.0.0
Deprecated in 1.3.0

public final class VideoSize extends VideoSize


Immutable class for describing video size.

Summary

Public constructors

VideoSize(int width, int height)

Inherited methods

From androidx.media2.common.VideoSize
boolean

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
@NonNull 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
public VideoSize(int width, int height)