Class MediaItem.SubtitleConfiguration

  • Direct Known Subclasses:
    Enclosing class:

    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

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

        public final String language
        The language.
      • selectionFlags

        public final int selectionFlags
        The selection flags.
      • roleFlags

        public final int roleFlags
        The role flags.
      • label

        public final String label
        The label.
      • id

        public final String id
        The ID of the subtitles. This will be propagated to the of the subtitle track created from this configuration.