Class MediaItem.SubtitleConfiguration

  • Direct Known Subclasses:
    MediaItem.Subtitle
    Enclosing class:
    MediaItem

    public static class MediaItem.SubtitleConfiguration
    extends Object
    Properties for a text track.
    • Field Detail

      • uri

        public final Uri uri
        The Uri to the subtitle file.
      • mimeType

        @Nullable
        public final String mimeType
        The optional MIME type of the subtitle file, or null if unspecified.
      • language

        @Nullable
        public final String language
        The language.
      • selectionFlags

        @SelectionFlags
        public final @com.google.android.exoplayer2.C.SelectionFlags int selectionFlags
        The selection flags.
      • roleFlags

        @RoleFlags
        public final @com.google.android.exoplayer2.C.RoleFlags int roleFlags
        The role flags.
      • label

        @Nullable
        public final String label
        The label.