public class VideoInfo
extends Object
implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
VideoInfo.Variant |
| Modifier and Type | Field and Description |
|---|---|
List<Integer> |
aspectRatio
The aspect ratio of the video, as a simplified fraction of width and height in a 2-element
list.
|
long |
durationMillis
The length of the video, in milliseconds.
|
List<VideoInfo.Variant> |
variants
Different encodings/streams of the video.
|
| Constructor and Description |
|---|
VideoInfo(List<Integer> aspectRatio,
long durationMillis,
List<VideoInfo.Variant> variants) |
public final List<Integer> aspectRatio
public final long durationMillis
public final List<VideoInfo.Variant> variants
public VideoInfo(List<Integer> aspectRatio,
long durationMillis,
List<VideoInfo.Variant> variants)