@UnstableApi
public class AdaptationSet


Represents a set of interchangeable encoded versions of a media content component.

Summary

Constants

static final long

Value of id indicating no value is set.=

Public fields

final List<Descriptor>

Accessibility descriptors in the adaptation set.

final List<Descriptor>

Essential properties in the adaptation set.

final long

A non-negative identifier for the adaptation set that's unique in the scope of its containing period, or ID_UNSET if not specified.

final List<Representation>

Representations in the adaptation set.

final List<Descriptor>

Supplemental properties in the adaptation set.

final int

The track type of the adaptation set.

Public constructors

AdaptationSet(
    long id,
    @C.TrackType int type,
    List<Representation> representations,
    List<Descriptor> accessibilityDescriptors,
    List<Descriptor> essentialProperties,
    List<Descriptor> supplementalProperties
)

Constants

ID_UNSET

public static final long ID_UNSET = -1

Value of id indicating no value is set.=

Public fields

accessibilityDescriptors

public final List<DescriptoraccessibilityDescriptors

Accessibility descriptors in the adaptation set.

essentialProperties

public final List<DescriptoressentialProperties

Essential properties in the adaptation set.

id

public final long id

A non-negative identifier for the adaptation set that's unique in the scope of its containing period, or ID_UNSET if not specified.

representations

public final List<Representationrepresentations

Representations in the adaptation set.

supplementalProperties

public final List<DescriptorsupplementalProperties

Supplemental properties in the adaptation set.

type

@C.TrackType
public final int type

The track type of the adaptation set.

Public constructors

AdaptationSet

public AdaptationSet(
    long id,
    @C.TrackType int type,
    List<Representation> representations,
    List<Descriptor> accessibilityDescriptors,
    List<Descriptor> essentialProperties,
    List<Descriptor> supplementalProperties
)
Parameters
long id

A non-negative identifier for the adaptation set that's unique in the scope of its containing period, or ID_UNSET if not specified.

@C.TrackType int type

The track type of the adaptation set.

List<Representation> representations

Representations in the adaptation set.

List<Descriptor> accessibilityDescriptors

Accessibility descriptors in the adaptation set.

List<Descriptor> essentialProperties

Essential properties in the adaptation set.

List<Descriptor> supplementalProperties

Supplemental properties in the adaptation set.