Package com.theoplayer.android.api.cache
Class CachingPreferredTrackSelection
-
- All Implemented Interfaces:
public class CachingPreferredTrackSelectionThe preferred track selection caching parameter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCachingPreferredTrackSelection.BuilderThe builder for the preferred track selection caching parameter.
-
Field Summary
Fields Modifier and Type Field Description public final Array<String>audioTrackSelectionpublic final Array<String>textTrackSelection
-
Method Summary
Modifier and Type Method Description Array<String>getAudioTrackSelection()The list of language tags that indicates the preferred audio tracks to be cached. Array<String>getTextTrackSelection()The list of language tags that indicates the preferred text tracks to be cached. StringtoString()-
-
Method Detail
-
getAudioTrackSelection
@NonNull() Array<String> getAudioTrackSelection()
The list of language tags that indicates the preferred audio tracks to be cached.
- An empty array will result to picking the first track from the manifest.
Default: An empty String[].
- Returns:
The list of languages to cache. (NonNull)
-
getTextTrackSelection
@NonNull() Array<String> getTextTrackSelection()
The list of language tags that indicates the preferred text tracks to be cached.
- An empty array will result to picking the first track from the manifest.
Default: An empty String[].
- Returns:
The list of languages to cache. (NonNull)
-
-
-
-