Webcom

class Webcom : Query

A Webcom object is the entry point to the Webcom Datasync and Authentication services.

Important change over the legacy API: Initialization

Before you can instantiate a Webcom object, the SDK must have completed its initialization. To do so, you should register a Runnable to be called after the initialization is complete using the Webcom.onReady static method. Once any listener registered through this method has been called, all subsequent calls to the the are safe.

Examples

Java

Webcom.onReady(() -> {
Webcom ref = new Webcom("<your-app>");
(...)
});

Kotlin

Webcom.onReady {
val ref = Webcom("<your-app>")
(...)
}

Types

Companion
Link copied to clipboard
object Companion
DeviceIdentifier
Link copied to clipboard
sealed class DeviceIdentifier

Identifier of the device that can be used to receive push notifications.

Functions

getUid
Link copied to clipboard
fun getUid(): Id

Properties

application
Link copied to clipboard
val application: String