WebcomApplication

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

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

Types

Companion
Link copied to clipboard
object Companion

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

Functions

service
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

authenticationService
Link copied to clipboard
val authenticationService: AuthenticationService

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

configuration
Link copied to clipboard
val configuration: WebcomConfiguration

The WebcomConfiguration associated with this WebcomApplication instance.

datasyncService
Link copied to clipboard
val datasyncService: DatasyncService

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