class WebcomApplication
Represents a Webcom application.
It is the base object from which you can get a Webcom service (using the XXXService
properties such as
authenticationService or datasyncService).
The preferred way to create a WebcomApplication instance is to use one of the withAsset or withConfiguration static methods.
WebcomApplication(properties: Properties)
Builds a WebcomApplication instance reading settings from Java properties. WebcomApplication(assetFileName: String = defaultAssetFileName)
Builds a WebcomApplication instance reading settings from an Android assetFileName. WebcomApplication(configuration: WebcomConfiguration)
Low-level constructor for the WebcomApplication class. |
val default: WebcomApplication
Gets the default WebcomApplication instance, i.e. the one built from the " |
fun withAsset(assetFileName: String = defaultAssetFileName, done: WebcomResultCallback<WebcomApplication>): Unit
Ensures the Webcom SDK is properly initialized and passes a WebcomApplication instance built from an Android assetFileName to the done code block. |
|
fun withConfiguration(configuration: WebcomConfiguration, done: (WebcomApplication) -> Unit): Unit
Ensures the Webcom SDK is properly initialized and passes a WebcomApplication instance built from a Webcom configuration to the done code block. |
|
fun withProperties(properties: Properties, done: WebcomResultCallback<WebcomApplication>): Unit
Ensures the Webcom SDK is properly initialized and passes a WebcomApplication instance built from Java properties to the done code block. |
val WebcomApplication.authenticationService: AuthenticationService
Retrieves (or creates) the unique instance of AuthenticationService associated with this WebcomApplication. |
|
val WebcomApplication.datasyncService: DatasyncService
Retrieves (or creates) the unique instance of DatasyncService associated with this WebcomApplication. |