BinarySearchSeeker.SeekTimestampConverter


protected interface BinarySearchSeeker.SeekTimestampConverter

Known direct subclasses
BinarySearchSeeker.DefaultSeekTimestampConverter

A SeekTimestampConverter implementation that returns the seek time itself as the timestamp for a seek time position.


A converter that converts seek time in stream time into target timestamp for the BinarySearchSeeker.

Summary

Public functions

Long

Converts a seek time in microseconds into target timestamp for the BinarySearchSeeker.

Public functions

timeUsToTargetTime

fun timeUsToTargetTime(timeUs: Long): Long

Converts a seek time in microseconds into target timestamp for the BinarySearchSeeker.