public class AdaptationSet extends Object
Modifier and Type | Field and Description |
---|---|
List<ContentProtection> |
contentProtections |
int |
id |
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,
List<Representation> representations) |
AdaptationSet(int id,
int type,
List<Representation> representations,
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 List<Representation> representations
public final List<ContentProtection> contentProtections
public AdaptationSet(int id, int type, List<Representation> representations, List<ContentProtection> contentProtections)
public AdaptationSet(int id, int type, List<Representation> representations)