Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2 / Webcom / whenSdkIsInitialized

whenSdkIsInitialized

fun whenSdkIsInitialized(block: () -> Unit): Unit

Runs a given code block once the Webcom SDK is properly initialized.

Code blocks invoking Webcom SDK functions fail as long as Webcom SDK initialization is not complete. This initialization is run asynchronously at the application loading.