See: Description
Class | Description |
---|---|
AuthDetails |
Represents authentication details, needed by the
Webcom.addIdentity method to
create a new account. |
AuthOptions |
Represents a set of options for authentication, which can be passed to some methods such as
Webcom.authWithOAuth . |
Config | |
DataSnapshot | |
MessageDetails |
Represents the settings of a message to send to the user, needed by the
Webcom.sendOtp method. |
OnDisconnect | |
Query | |
ServerValue | |
VerificationData |
Encapsulates all information pieces to verify a newly created identity.
The pieces of information depends on the authentication method associated to the identity to verify.
|
Webcom |
A Webcom object is the entry point to the Webcom Datasync and Authentication services.
|
WebcomApp | |
WebcomError | |
WebcomOptions |
Enum | Description |
---|---|
NotificationEvent |
Exception | Description |
---|---|
WebcomException | |
WebcomRuntimeException |
This package is the main entry point to the Webcom SDK for Android. This is a "new generation" SDK, as it's a complete rewrite of the legacy SDK (version 1.5.0). The internals have been completely modified to offer more speed and to limit the library dependencies. Please read the more detailed description below to learn aboutmigration from the legacy SDK. Apart from these few changes, you can refer to the legacy API documentation as not all classes and methods are thoroughly documented in the new SDK yet. The complete changelog is available here.
This SDK depends on:
the Kotlin runtime (org.jetbrains.kotlin
)
Custom Tabs (androidx.browser
)
This SDK exposes the same API as the legacy one (until version 1.5.0), and aims at being a "drop-in" replacement, except for the changes below. Not all classes and methods are documented yet, so you should look for their equivalent in the legacy API documentation.
The SDK initialization differs form the legacy SDK, reflecting the underlying threading model of the internal engine.
Extra care must be taken before being able to instantiate a class Webcom
object, as explained in this class documentation.
This library depends on androidx, this means your application should depend on it too (see how to migrate).