waitForReady

suspend fun waitForReady(duration: Duration? = null): Boolean(source)

Waits for the SDK to be ready.

Return

true if the SDK is ready, false if the timeout was reached.

Parameters

duration

The max time to wait. If null, this method will wait indefinitely.