@UnstableApi
class AdaptationSet


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

Summary

Constants

const Long

Value of id indicating no value is set.=

Public constructors

AdaptationSet(
    id: Long,
    @C.TrackType type: Int,
    representations: (Mutable)List<Representation!>!,
    accessibilityDescriptors: (Mutable)List<Descriptor!>!,
    essentialProperties: (Mutable)List<Descriptor!>!,
    supplementalProperties: (Mutable)List<Descriptor!>!
)

Public properties

(Mutable)List<Descriptor!>!

Accessibility descriptors in the adaptation set.

(Mutable)List<Descriptor!>!

Essential properties in the adaptation set.

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.

(Mutable)List<Representation!>!

Representations in the adaptation set.

(Mutable)List<Descriptor!>!

Supplemental properties in the adaptation set.

Int

The track type of the adaptation set.

Constants

ID_UNSET

const val ID_UNSET = -1: Long

Value of id indicating no value is set.=

Public constructors

AdaptationSet

AdaptationSet(
    id: Long,
    @C.TrackType type: Int,
    representations: (Mutable)List<Representation!>!,
    accessibilityDescriptors: (Mutable)List<Descriptor!>!,
    essentialProperties: (Mutable)List<Descriptor!>!,
    supplementalProperties: (Mutable)List<Descriptor!>!
)
Parameters
id: 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.

@C.TrackType type: Int

The track type of the adaptation set.

representations: (Mutable)List<Representation!>!

Representations in the adaptation set.

accessibilityDescriptors: (Mutable)List<Descriptor!>!

Accessibility descriptors in the adaptation set.

essentialProperties: (Mutable)List<Descriptor!>!

Essential properties in the adaptation set.

supplementalProperties: (Mutable)List<Descriptor!>!

Supplemental properties in the adaptation set.

Public properties

accessibilityDescriptors

val accessibilityDescriptors: (Mutable)List<Descriptor!>!

Accessibility descriptors in the adaptation set.

essentialProperties

val essentialProperties: (Mutable)List<Descriptor!>!

Essential properties in the adaptation set.

id

val idLong

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

val representations: (Mutable)List<Representation!>!

Representations in the adaptation set.

supplementalProperties

val supplementalProperties: (Mutable)List<Descriptor!>!

Supplemental properties in the adaptation set.

type

@C.TrackType
val typeInt

The track type of the adaptation set.