Class ChapterFrame

  • All Implemented Interfaces:
    Parcelable, Metadata.Entry

    @Deprecated
    public final class ChapterFrame
    extends Id3Frame
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Chapter information ID3 frame.
    • Field Detail

      • chapterId

        public final String chapterId
        Deprecated.
      • startTimeMs

        public final int startTimeMs
        Deprecated.
      • endTimeMs

        public final int endTimeMs
        Deprecated.
      • startOffset

        public final long startOffset
        Deprecated.
        The byte offset of the start of the chapter, or C.INDEX_UNSET if not set.
      • endOffset

        public final long endOffset
        Deprecated.
        The byte offset of the end of the chapter, or C.INDEX_UNSET if not set.
    • Constructor Detail

      • ChapterFrame

        public ChapterFrame​(String chapterId,
                            int startTimeMs,
                            int endTimeMs,
                            long startOffset,
                            long endOffset,
                            Id3Frame[] subFrames)
        Deprecated.
    • Method Detail

      • getSubFrameCount

        public int getSubFrameCount()
        Deprecated.
        Returns the number of sub-frames.
      • getSubFrame

        public Id3Frame getSubFrame​(int index)
        Deprecated.
        Returns the sub-frame at index.
      • equals

        public boolean equals​(@Nullable
                              Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • writeToParcel

        public void writeToParcel​(Parcel dest,
                                  int flags)
        Deprecated.