Companion

object Companion

Functions

onReady
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.

waitForReady
Link copied to clipboard
fun waitForReady()

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

whenSdkIsInitialized
Link copied to clipboard
fun whenSdkIsInitialized(block: () -> Unit)

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

Properties

deviceIdentifier
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.