getTimelinePositionFromApproximateOffsetMs

Get the timeline position that most closely matches an offset into the timeline. If the offset is negative, the position at the start of the timeline will be returned. If the offset is larger than the duration of the timeline, the position at the end of the timeline will be returned.

Parameters

approximateOffsetMs
  • Milliseconds into the timeline.