Back to Exoplayer

PositionHolder (ExoPlayer library)

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

latest1.6 KB
Original Source

Package com.google.android.exoplayer2.extractor

Class PositionHolder


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classPositionHolderextends[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.

Holds a position in the stream.

Field Summary

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

The held position. |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | PositionHolder() | Deprecated. |

Method Summary

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

position

public long position

Deprecated.

The held position.

Constructor Detail

- 

PositionHolder

public PositionHolder()

Deprecated.