Class CachingPreferredTrackSelection

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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)