# BinarySearchSeeker.DefaultSeekTimestampConverter

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/BinarySearchSeeker.java+class:androidx.media3.extractor.BinarySearchSeeker.DefaultSeekTimestampConverter)

*** ** * ** ***


```
public final class BinarySearchSeeker.DefaultSeekTimestampConverter implements BinarySearchSeeker.SeekTimestampConverter
```

<br />

*** ** * ** ***

A `https://developer.android.com/reference/androidx/media3/extractor/BinarySearchSeeker.SeekTimestampConverter` implementation that returns the seek time itself as the timestamp for a seek time position.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/extractor/BinarySearchSeeker.DefaultSeekTimestampConverter#DefaultSeekTimestampConverter()()` |

| ### Public methods |
|---|---|
| `long` | `https://developer.android.com/reference/androidx/media3/extractor/BinarySearchSeeker.DefaultSeekTimestampConverter#timeUsToTargetTime(long)(long timeUs)` Converts a seek time in microseconds into target timestamp for the `https://developer.android.com/reference/androidx/media3/extractor/BinarySearchSeeker`. |

## Public constructors

### DefaultSeekTimestampConverter

```
public DefaultSeekTimestampConverter()
```

## Public methods

### timeUsToTargetTime

```
public long timeUsToTargetTime(long timeUs)
```

Converts a seek time in microseconds into target timestamp for the `https://developer.android.com/reference/androidx/media3/extractor/BinarySearchSeeker`.