Package com.orange.webcom.sdk

Types

AuthDetails
Link copied to clipboard
class AuthDetails @JvmOverloads constructor(id: String, password: String?, displayName: String?, profile: Any?)

Represents authentication details, needed by the Webcom.addIdentity method to create a new account.

AuthOptions
Link copied to clipboard
class AuthOptions

Represents a set of options for authentication, which can be passed to some methods such as Webcom.authWithOAuth.

Callback
Link copied to clipboard
interface Callback

Generic callback

Config
Link copied to clipboard
object Config
DataSnapshot
Link copied to clipboard
class DataSnapshot
DatasyncServiceOptions
Link copied to clipboard
data class DatasyncServiceOptions @JvmOverloads constructor(persist: Boolean?, connect: Boolean?, websocket: DatasyncServiceOptions.Companion.WebSocketOptions?)
JSONValue
Link copied to clipboard
interface JSONValue
This interface provides convenient methods to browse a JSON value (typically returned by the underlying Javascript engine).
MessageDetails
Link copied to clipboard
class MessageDetails(template: String?, sender: String?, locale: Locale?)

Represents the settings of a message to send to the user, needed by the Webcom.sendOtp method.

NotificationEvent
Link copied to clipboard
enum NotificationEvent
OnAuth
Link copied to clipboard
interface OnAuth : Callback
Authentication callback for authInternally, addIdentity, ...
OnAuthExtended
Link copied to clipboard
interface OnAuthExtended : OnAuth
OnAuthWithOAuth
Link copied to clipboard
interface OnAuthWithOAuth : OnAuth
OAuth authentication callback for authWithOAuth and authWithOAuth.
OnCompletableQuery
Link copied to clipboard
interface OnCompletableQuery : OnQueryBase
OnComplete
Link copied to clipboard
interface OnComplete : Callback
Completion callback for set(), update(), push() or remove().
OnDisconnect
Link copied to clipboard
class OnDisconnect
OnQuery
Link copied to clipboard
interface OnQuery : OnQueryBase

Query callback for on(), once(), off()

OnQueryBase
Link copied to clipboard
interface OnQueryBase : Callback
OnValue
Link copied to clipboard
interface OnValue : Callback

Asynchronous callback wrapper for some methods of the Webcom API. This wrapper provides a callback method that is passed a JSONValue instance.

Query
Link copied to clipboard
open class Query
ServerValue
Link copied to clipboard
object ServerValue
TransactionCallback
Link copied to clipboard
interface TransactionCallback : Callback
VerificationData
Link copied to clipboard
class VerificationData

Encapsulates all information pieces to verify a newly created identity. The pieces of information depends on the authentication method associated to the identity to verify.

Webcom
Link copied to clipboard
class Webcom : Query

A Webcom object is the entry point to the Webcom Datasync and Authentication services.

WebcomApp
Link copied to clipboard
data class WebcomApp @JvmOverloads constructor(appId: String, platform: URL?)
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
WebcomOptions
Link copied to clipboard
data class WebcomOptions @JvmOverloads constructor(persist: Boolean?, goOnline: Boolean?, offlineData: String?, wsProtocol: Int?, DatasyncService: DatasyncServiceOptions?)
WebcomRuntimeException
Link copied to clipboard
class WebcomRuntimeException(message: String?) : RuntimeException

Functions

toOnCompletableQuery
Link copied to clipboard
fun OnQueryBase.toOnCompletableQuery(): OnCompletableQuery

Properties

description
Link copied to clipboard
val Callback.description: String