# 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)

*** ** * ** ***


```
@UnstableApi
public final class SeekPoint
```

<br />

*** ** * ** ***

Defines a seek point in a media stream.

## Summary

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

| ### Public fields |
|---|---|
| `final long` | `https://developer.android.com/reference/androidx/media3/extractor/SeekPoint#position()` The byte offset of the seek point. |
| `final long` | `https://developer.android.com/reference/androidx/media3/extractor/SeekPoint#timeUs()` The time of the seek point, in microseconds. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/extractor/SeekPoint#SeekPoint(long,long)(long timeUs, long position)` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/media3/extractor/SeekPoint#equals(java.lang.Object)(@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/Object.html obj)` |
| `int` | `https://developer.android.com/reference/androidx/media3/extractor/SeekPoint#hashCode()()` |
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/extractor/SeekPoint#toString()()` |

## Constants

### START

```
public static final SeekPoint START
```

A `https://developer.android.com/reference/androidx/media3/extractor/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()
```