contains

open operator fun contains(positionMs: Long): Boolean(source)

Checks if the provided position, in milliseconds, is within this TimeRange.

Return

Whether the positionMs is between start (inclusive) and end (exclusive).

Parameters

positionMs

The position to check, in milliseconds.