# SeekPoint

# SeekPoint

Artifact:[androidx.media3:media3-extractor](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/extractor/SeekPoint.java+class:androidx.media3.extractor.SeekPoint)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/extractor/SeekPoint "View this page in Java")

<br />

```
@UnstableApi
class SeekPoint
```

<br />

*** ** * ** ***

Defines a seek point in a media stream.

## Summary

|                                               ### Constants                                                |
|------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[SeekPoint](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekPoint)`!` | [START](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekPoint#START()) A[SeekPoint](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekPoint)whose time and byte offset are both set to 0. |

|                                                                                                                                          ### Public constructors                                                                                                                                           |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [SeekPoint](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekPoint#SeekPoint(long,long))`(timeUs: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, position: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)` |

|                                 ### Public functions                                 |
|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)  | [equals](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekPoint#equals(java.lang.Object))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)          | [hashCode](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekPoint#hashCode())`()`                                                                                                |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [toString](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekPoint#toString())`()`                                                                                                |

|                             ### Public properties                             |
|-------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) | [position](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekPoint#position()) The byte offset of the seek point.       |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) | [timeUs](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekPoint#timeUs()) The time of the seek point, in microseconds. |

## Constants

### START

```
const val START: SeekPoint!
```

A[SeekPoint](https://developer.android.com/reference/kotlin/androidx/media3/extractor/SeekPoint)whose time and byte offset are both set to 0.  

## Public constructors

### SeekPoint

```
SeekPoint(timeUs: Long, position: Long)
```  

|                                        Parameters                                         |
|-------------------------------------------------------------------------------------------|----------------------------------------------|
| `timeUs: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)   | The time of the seek point, in microseconds. |
| `position: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) | The byte offset of the seek point.           |

## Public functions

### equals

```
fun equals(obj: Any?): Boolean
```  

### hashCode

```
fun hashCode(): Int
```  

### toString

```
fun toString(): String!
```  

## Public properties

### position

```
val position: Long
```

The byte offset of the seek point.  

### timeUs

```
val timeUs: Long
```

The time of the seek point, in microseconds.