AdaptationSet


@UnstableApi
public class AdaptationSet


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

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.

The Draw 9-patch tool is a WYSIWYG editor included in Android Studio that lets you create bitmap images that automatically resize to accommodate the contents of the view and the size of the screen.

Updated Apr 12, 2023

An alias for an activity, named by the targetActivity attribute. The target must be in the same application as the alias and it must be declared before the alias in the manifest. The alias presents the target activity as a independent entity. It can have…

Updated May 4, 2023

A toolset that lets you implement parts of your app in native code, using languages such as C and C++.

Updated Aug 22, 2024