TrackSelectionUtil.AdaptiveTrackSelectionFactory


interface TrackSelectionUtil.AdaptiveTrackSelectionFactory


Functional interface to create a single adaptive track selection.

Summary

Public functions

ExoTrackSelection!
createAdaptiveTrackSelection(
    trackSelectionDefinition: ExoTrackSelection.Definition!
)

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

Public functions

createAdaptiveTrackSelection

fun createAdaptiveTrackSelection(
    trackSelectionDefinition: ExoTrackSelection.Definition!
): ExoTrackSelection!

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

Parameters
trackSelectionDefinition: ExoTrackSelection.Definition!

A Definition for the track selection.

Returns
ExoTrackSelection!

The created track selection.