public static class TdApi.AlternativeVideo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
codec
Codec used for video file encoding, for example, "h264", "h265", or "av1".
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
height
Video height.
|
TdApi.File |
hlsFile
HLS file describing the video.
|
TdApi.File |
video
File containing the video.
|
int |
width
Video width.
|
| Constructor and Description |
|---|
AlternativeVideo()
Describes an alternative re-encoded quality of a video file.
|
AlternativeVideo(int width,
int height,
java.lang.String codec,
TdApi.File hlsFile,
TdApi.File video)
Describes an alternative re-encoded quality of a video file.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int width
public int height
public java.lang.String codec
public TdApi.File hlsFile
public TdApi.File video
public static final int CONSTRUCTOR
public AlternativeVideo()
public AlternativeVideo(int width,
int height,
java.lang.String codec,
TdApi.File hlsFile,
TdApi.File video)
width - Video width.height - Video height.codec - Codec used for video file encoding, for example, "h264", "h265", or "av1".hlsFile - HLS file describing the video.video - File containing the video.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object