Package com.theoplayer.android.api.cache
Class CachingPreferredTrackSelection
-
- All Implemented Interfaces:
public class CachingPreferredTrackSelection
The preferred track selection caching parameter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
CachingPreferredTrackSelection.Builder
The builder for the preferred track selection caching parameter.
-
Field Summary
Fields Modifier and Type Field Description public final Array<String>
audioTrackSelection
public 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. String
toString()
-
-
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)
-
-
-
-