contains

open operator fun contains(positionMs: Long): Boolean

Check if the provided position is in this TimeRange.

Return

true if positionMs is between start (included) and end (excluded).

Parameters

positionMs

The position, in milliseconds.