Back to Exoplayer

SeekPoint (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/extractor/SeekPoint.html

latest3.3 KB
Original Source

Package com.google.android.exoplayer2.extractor

Class SeekPoint


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classSeekPointextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

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 Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | long | position | Deprecated.

The byte offset of the seek point. | | static SeekPoint | START | Deprecated.

A SeekPoint whose time and byte offset are both set to 0. | | long | timeUs | Deprecated.

The time of the seek point, in microseconds. |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | SeekPoint​(long timeUs, long position) | Deprecated. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | boolean | equals​(Object obj) | Deprecated. | | int | hashCode() | Deprecated. | | String | toString() | Deprecated. |

- 

Methods inherited from class java.lang.Object

clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Field Detail

- 

START

public static final[SeekPoint](SeekPoint.html "class in com.google.android.exoplayer2.extractor")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

- 

toString

public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")toString()

Deprecated. Overrides:toString in class Object

- 

equals

public boolean equals​(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")obj)

Deprecated. Overrides:equals in class Object

- 

hashCode

public int hashCode()

Deprecated. Overrides:hashCode in class Object