fetchTimelineRange

abstract fun fetchTimelineRange(locator: SimpleLocatorData, onSuccess: (SyncMediaTimelineRangeData) -> Unit, onError: (ColibrioException) -> Unit)

Find the timeline range that most closely corresponds to a range Locator.

If the passed locator is not a range, the resulting range will have end = start.


Find the timeline range that most closely corresponds to a range Locator.

If the passed locator is not a range, the resulting range will have end = start.

Return

Either ColibrioResult.Success with the result SyncMediaTimelineRangeData when successful, or ColibrioResult.Error containing the error.