Package com.orange.webcom.sdk

Exposes the main public API of the Webcom SDK.

Types

Canceled
Link copied to clipboard
data class Canceled : Notification.ControlNotification, Notifiable

Generic event to be notified when a subscription is canceled, that is deliberately stopped.

Identity
Link copied to clipboard
interface Identity
Identity data associated to an authenticated user.
JSONValue
Link copied to clipboard
interface JSONValue
This interface provides convenient methods to browse a JSON value (typically returned by the underlying Javascript engine).
Notification
Link copied to clipboard
interface Notification<out T : Notifiable>

Base interface for passing an event of type T to a callback function.

Subscription
Link copied to clipboard
interface Subscription

Represents a subscription to some event type.

WebcomApplication
Link copied to clipboard
class WebcomApplication

Represents a Webcom application.

WebcomConfiguration
Link copied to clipboard
data class WebcomConfiguration @JvmOverloads constructor(identifier: String, platform: URL?, offlineCache: String?, startOnline: Boolean, websocketProtocol: WebcomConfiguration.WebsocketProtocol, pingDelayMs: Int?, pongDelayMs: Int?)

Represents the settings of a WebcomApplication instance.

WebcomError
Link copied to clipboard
class WebcomError @JvmOverloads constructor(errorCode: String, message: String?, cause: Throwable?)
WebcomException
Link copied to clipboard
class WebcomException(fromError: WebcomError?) : Exception
WebcomResult
Link copied to clipboard
sealed class WebcomResult<out T>

Wraps the result of a computation of type T.

WebcomRuntimeException
Link copied to clipboard
class WebcomRuntimeException(message: String?) : RuntimeException