public class AdaptationSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<ContentProtection> |
contentProtections |
int |
id |
java.util.List<Representation> |
representations |
int |
type |
static int |
TYPE_AUDIO |
static int |
TYPE_TEXT |
static int |
TYPE_UNKNOWN |
static int |
TYPE_VIDEO |
Constructor and Description |
---|
AdaptationSet(int id,
int type,
java.util.List<Representation> representations) |
AdaptationSet(int id,
int type,
java.util.List<Representation> representations,
java.util.List<ContentProtection> contentProtections) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasContentProtection() |
public static final int TYPE_UNKNOWN
public static final int TYPE_VIDEO
public static final int TYPE_AUDIO
public static final int TYPE_TEXT
public final int id
public final int type
public final java.util.List<Representation> representations
public final java.util.List<ContentProtection> contentProtections
public AdaptationSet(int id, int type, java.util.List<Representation> representations, java.util.List<ContentProtection> contentProtections)
public AdaptationSet(int id, int type, java.util.List<Representation> representations)