Class SeekPoint


  • public final class SeekPoint
    extends Object
    Defines a seek point in a media stream.
    • Field Detail

      • START

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

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

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

      • SeekPoint

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