Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2

Package com.orange.webcom.sdkv2

Exposes the main public API of the Webcom SDK.

Types

Webcom

object Webcom

Exposes some useful static methods or properties to start using the Webcom SDK.

WebcomAbstractService

abstract class WebcomAbstractService

Base class for the Webcom services such as AuthenticationService or DatasyncService.

WebcomApplication

class WebcomApplication

Represents a Webcom application.

WebcomConfiguration

data class WebcomConfiguration

Represents the settings of a WebcomApplication instance.

WebcomResult

sealed class WebcomResult<out T>

Wraps the result of a computation of type T.

Type Aliases

WebcomDoneCallback

typealias WebcomDoneCallback = (WebcomResult<Unit>) -> Unit

Shortcut type for callbacks that return nothing and that may fail.

WebcomResultCallback

typealias WebcomResultCallback<T> = (WebcomResult<T>) -> Unit

Shortcut type for callbacks that return an object of a given type and that may fail.

Properties

authenticationService

val WebcomApplication.authenticationService: AuthenticationService

Retrieves (or creates) the unique instance of AuthenticationService associated with this WebcomApplication.

datasyncService

val WebcomApplication.datasyncService: DatasyncService

Retrieves (or creates) the unique instance of DatasyncService associated with this WebcomApplication.