intersectsLocator

abstract fun intersectsLocator(locator: SimpleLocatorData, onSuccess: (Boolean) -> Unit, onError: (ColibrioException) -> Unit)

Checks if the specified locator intersects with this timeline.

Parameters

locator

The locator to check.

onSuccess

Called with true if the locator intersects with the timeline, false otherwise.

onError

Called if an error occurs when the operation is performed.


Checks if the specified locator intersects with this timeline.

Return

Either ColibrioResult.Success containing true if the locator intersects with the timeline and false otherwise, or ColibrioResult.Error containing the error.

Parameters

locator

The locator to check.