Companion
object Companion
Content copied to clipboard
Provides with a set of methods and properties to easily build WebcomApplication instances.
Functions
withAsset
Link copied to clipboard
fun withAsset(assetFileName: String = defaultAssetFileName, done: WebcomResultCallback<WebcomApplication>)
Content copied to clipboard
Ensures the Webcom SDK is properly initialized and passes a WebcomApplication instance built from an Android assetFileName to the done code block.
withConfiguration
Link copied to clipboard
fun withConfiguration(configuration: WebcomConfiguration, done: (WebcomApplication) -> Unit)
Content copied to clipboard
Ensures the Webcom SDK is properly initialized and passes a WebcomApplication instance built from a Webcom configuration to the done code block.
withProperties
Link copied to clipboard
fun withProperties(properties: Properties, done: WebcomResultCallback<WebcomApplication>)
Content copied to clipboard
Ensures the Webcom SDK is properly initialized and passes a WebcomApplication instance built from Java properties to the done code block.
Properties
default
Link copied to clipboard
Gets the default WebcomApplication instance, ie the one built from the "
webcom.properties
" asset file.