Package com.vdocipher.aegis.media
Class Track
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class Track implements Parcelable
An immutable object containing information about a audio, video or captions track in a media.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Track
DISABLE_CAPTIONS
public final static Track
SET_ADAPTIVE
public final static int
TYPE_UNKNOWN
public final static int
TYPE_AUDIO
public final static int
TYPE_VIDEO
public final static int
TYPE_CAPTIONS
public final int
id
public final int
type
public final int
bitrate
public final int
width
public final int
height
public final String
language
public final int
streamIndex
public final String
groupId
public final String
codec
public final String
mimeType
public final String
label
public final static Parcelable.Creator<Track>
CREATOR
-
Constructor Summary
Constructors Constructor Description Track(int id, int type, int height, int width, int bitrate, String language, String label, String codec, String mimeType)
Track(int id, int type, int height, int width, int bitrate, String language, String label, String codec, String mimeType, String groupId, int streamIndex)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
String
toString()
int
describeContents()
void
writeToParcel(Parcel dest, int flags)
-
-
Method Detail
-
hashCode
int hashCode()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-