Back to Exoplayer

SeekMap.SeekPoints (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/extractor/SeekMap.SeekPoints.html

latest3.0 KB
Original Source

Package com.google.android.exoplayer2.extractor

Class SeekMap.SeekPoints


public static final classSeekMap.SeekPointsextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

Contains one or two SeekPoints.

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | SeekPoint | first | The first seek point. | | SeekPoint | second | The second seek point, or first if there's only one seek point. |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | SeekPoints​(SeekPoint point) | | | SeekPoints​(SeekPoint first, SeekPoint second) | |

Method Summary

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

- 

Methods inherited from class java.lang.Object

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

Field Detail

- 

first

public final[SeekPoint](SeekPoint.html "class in com.google.android.exoplayer2.extractor")first

The first seek point.

- 

second

public final[SeekPoint](SeekPoint.html "class in com.google.android.exoplayer2.extractor")second

The second seek point, or first if there's only one seek point.

Constructor Detail

- 

SeekPoints

public SeekPoints​([SeekPoint](SeekPoint.html "class in com.google.android.exoplayer2.extractor")point)

Parameters:point - The single seek point.

- 

SeekPoints

public SeekPoints​([SeekPoint](SeekPoint.html "class in com.google.android.exoplayer2.extractor")first,[SeekPoint](SeekPoint.html "class in com.google.android.exoplayer2.extractor")second)

Parameters:first - The first seek point.second - The second seek point.

Method Detail

- 

toString

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

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)

Overrides:equals in class Object

- 

hashCode

public int hashCode()

Overrides:hashCode in class Object