Package-level declarations
Properties
Functions
Link copied to clipboard
fun <R> waitForAndCheckIviServiceAsyncFunResult(timeoutMs: Long = DEFAULT_WAIT_LIVE_DATA_TIMEOUT.inWholeMilliseconds, expectedResultType: IviServiceFunResult.ResultType = IviServiceFunResult.ResultType.SUCCESSFUL, function: ((IviServiceFunResult<R?>?) -> Unit) -> Unit): IviServiceFunResult<R?>
Utility function to wait for an IVI service async function result and check the result.
Link copied to clipboard
Link copied to clipboard
fun <R> waitForIviServiceAsyncFunResult(timeoutMs: Long = DEFAULT_WAIT_LIVE_DATA_TIMEOUT.inWholeMilliseconds, function: ((IviServiceFunResult<R?>?) -> Unit) -> Unit): IviServiceFunResult<R?>
Utility function to wait for an IVI service async function result.
Link copied to clipboard
Link copied to clipboard
fun waitForNonUi(timeoutMs: Long, intervalMs: Long = DEFAULT_INTERVAL_MS, predicate: () -> Boolean): Boolean
Utility function to wait for a predicate to return true
. The predicate is invoked periodically with intervalMs as interval until the timeoutMs timeout is reached.