Back to Exoplayer

TrackSelectionUtil.AdaptiveTrackSelectionFactory (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/trackselection/TrackSelectionUtil.AdaptiveTrackSelectionFactory.html

latest1.4 KB
Original Source

Package com.google.android.exoplayer2.trackselection

Interface TrackSelectionUtil.AdaptiveTrackSelectionFactory


public static interfaceTrackSelectionUtil.AdaptiveTrackSelectionFactory

Functional interface to create a single adaptive track selection.

Method Summary

All Methods Instance Methods Abstract Methods | Modifier and Type | Method | Description | | --- | --- | --- | | ExoTrackSelection | createAdaptiveTrackSelection​(ExoTrackSelection.Definition trackSelectionDefinition) | Creates an adaptive track selection for the provided track selection definition. |

Method Detail

- 

createAdaptiveTrackSelection

[ExoTrackSelection](ExoTrackSelection.html "interface in com.google.android.exoplayer2.trackselection")createAdaptiveTrackSelection​([ExoTrackSelection.Definition](ExoTrackSelection.Definition.html "class in com.google.android.exoplayer2.trackselection")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.