public interface

TrackSelectionUtil.AdaptiveTrackSelectionFactory

 androidx.media3.exoplayer.trackselection.TrackSelectionUtil.AdaptiveTrackSelectionFactory

Overview

Functional interface to create a single adaptive track selection.

Summary

Methods
public ExoTrackSelectioncreateAdaptiveTrackSelection(ExoTrackSelection.Definition trackSelectionDefinition)

Creates an adaptive track selection for the provided track selection definition.

Methods

public ExoTrackSelection createAdaptiveTrackSelection(ExoTrackSelection.Definition trackSelectionDefinition)

Creates an adaptive track selection for the provided track selection definition.

Parameters:

trackSelectionDefinition: A ExoTrackSelection.Definition for the track selection.

Returns:

The created track selection.