@UnstableApi
public final class SeekPoint


Defines a seek point in a media stream.

Summary

Constants

static final SeekPoint

A SeekPoint whose time and byte offset are both set to 0.

Public fields

final long

The byte offset of the seek point.

final long

The time of the seek point, in microseconds.

Public constructors

SeekPoint(long timeUs, long position)

Public methods

boolean
int
String

Constants

START

public static final SeekPoint START

A SeekPoint whose time and byte offset are both set to 0.

Public fields

position

public final long position

The byte offset of the seek point.

timeUs

public final long timeUs

The time of the seek point, in microseconds.

Public constructors

SeekPoint

public SeekPoint(long timeUs, long position)
Parameters
long timeUs

The time of the seek point, in microseconds.

long position

The byte offset of the seek point.

Public methods

equals

public boolean equals(@Nullable Object obj)

hashCode

public int hashCode()

toString

public String toString()