Class GLMediaPlayer.Chapter

    • Field Detail

      • id

        public final int id
        Chapter ID
      • start

        public final int start
        Chapter start PTS in ms
      • end

        public final int end
        Chapter end PTS in ms
      • title

        public final String title
        Chapter title
    • Constructor Detail

      • Chapter

        public Chapter​(int i,
                       int s,
                       int e,
                       String t)
    • Method Detail

      • duration

        public int duration()
        Returns chapter duration, i.e. end - start + 1.