Webcom
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
Device Identifier
Link copied to clipboard
sealed class DeviceIdentifier
Content copied to clipboard
Identifier of the device that can be used to receive push notifications.
Functions
Properties
application
Link copied to clipboard