Class SeekPoint


  • @Deprecated
    public final class SeekPoint
    extends Object
    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.
    Defines a seek point in a media stream.
    • Field Detail

      • START

        public static final SeekPoint START
        Deprecated.
        A SeekPoint whose time and byte offset are both set to 0.
      • timeUs

        public final long timeUs
        Deprecated.
        The time of the seek point, in microseconds.
      • position

        public final long position
        Deprecated.
        The byte offset of the seek point.
    • Constructor Detail

      • SeekPoint

        public SeekPoint​(long timeUs,
                         long position)
        Deprecated.
        Parameters:
        timeUs - The time of the seek point, in microseconds.
        position - The byte offset of the seek point.
    • Method Detail

      • equals

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

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