TimestampIterator


@UnstableApi
interface TimestampIterator

Known direct subclasses
ConstantRateTimestampIterator

A TimestampIterator that generates monotonically increasing timestamps (in microseconds) distributed evenly over the given durationUs based on the given frameRate.


A primitive long iterator used for generating sequences of timestamps.

Summary

Public functions

TimestampIterator!

Returns fresh copy of the iterator.

Boolean

Returns whether there is another element.

Long

Returns the next timestamp.

Public functions

copyOf

fun copyOf(): TimestampIterator!

Returns fresh copy of the iterator.

hasNext

fun hasNext(): Boolean

Returns whether there is another element.

next

fun next(): Long

Returns the next timestamp.