WebcomApplication

class WebcomApplication : JsObjectWrapper

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

Instances of WebcomApplication are built using one of the fromConfiguration, fromAsset or fromProperties static methods.

Types

Link copied to clipboard
object Companion

Provides with a set of methods and properties to easily build WebcomApplication instances.

Functions

Link copied to clipboard
open override fun close()

Disposes the resources handled by this WebcomApplication instance

Link copied to clipboard
fun dispose()

Disposes the resources handled by this WebcomApplication instance

Link copied to clipboard
fun <T : WebcomAbstractService> service(type: KClass<T>): T

Retrieves (or creates) the unique Webcom service of a given type associated with this WebcomApplication instance.

Properties

Link copied to clipboard
val configuration: WebcomConfiguration

The WebcomConfiguration associated with this WebcomApplication instance.

Extensions

Link copied to clipboard

Convenient shortcut to service(AuthenticationService::class to retrieve the unique instance of AuthenticationService associated with this WebcomApplication.

Link copied to clipboard
val WebcomApplication.datasyncService: DatasyncService

Convenient shortcut to service(DatasyncService::class to retrieve the unique instance of DatasyncService associated with this WebcomApplication.