Webcom

object Webcom

Functions

Link copied to clipboard
fun onReady(runnable: Runnable)

Registers the runnable callback to be called as soon as the Webcom SDK has completed its initialization.

Link copied to clipboard
fun waitForReady()

Blocks the calling thread until the Webcom SDK has completed its initialization.

Link copied to clipboard
@JvmName(name = "whenSdkIsInitialized")
fun whenSdkIsInitialized(block: Runnable)
fun whenSdkIsInitialized(block: () -> Unit)

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

Properties

Link copied to clipboard
var deviceIdentifier: Subscription.DeviceIdentifier? = null

Represents the device identifier to be used to receive mobile push notifications from Webcom on the current device.