Package-level declarations

Types

Link copied to clipboard
interface Authorization

Authorization for OAuth use-cases. Client should pass the SDK necessary information, so the server can successfully authenticate the user.

Link copied to clipboard
fun interface Cancellable

Interface used to provide applications a way how to cancel long-running background tasks.

Link copied to clipboard
interface Chat : AutoCloseable

Current chat instance. Client is not limited to a single instance of any given chat. They can create (or rather build) as many instances as they like. They are though advised that creating CONFLICTING (or identical) instances with the same configuration may lead to unexpected consequences.

Link copied to clipboard

Handler allowing to listen to popups whenever they are available. You are encouraged to create this instance as soon as possible. It immediately after being created starts to listen to the popup events and keeps the latest one until it's observed.

Link copied to clipboard
interface ChatBuilder

Definition of builder used to create Chat instance.

Link copied to clipboard

Event handler allows for triggering events regarding the overall Chat instance. It has no side effects attached to it and can be created again on demand.

Link copied to clipboard

Provides in-one-place interactions to trigger all available events.

Link copied to clipboard

Handler permitting to add new fields to the instance it was created from.

Link copied to clipboard

ChatRepository owns and maintains the chat object and its state.

Link copied to clipboard

Chat mode in use, only valid when state is connected.

Link copied to clipboard

Definition of possible Chat states from application point-of-view.

Link copied to clipboard

Listener for Chat instance state changes. The current main purpose of this listener is to provide callbacks which notify integrating application about chat session connectivity changes.

Link copied to clipboard

Event handler allows for triggering events regarding the ChatThread instance it was created for.

Link copied to clipboard

Provides in-one-place interactions to trigger all available events.

Link copied to clipboard

Instance of a thread handler. This instance will contain the most up-to-date thread, even newer than the thread it was created from.

Link copied to clipboard

Manages all the necessary procedures required for service messages. This newly created object influences changes in parent ChatThreadHandler in number of ways. Though it does not modify the parent directly, it can force some events to happen which in-turn update the data.

Link copied to clipboard

Instance that allows modification, manipulation and observing of threads.

Link copied to clipboard

Mark a class, function, or typealias as public so it is not mangled by proguard.

Link copied to clipboard

Configuration for the instance that will be invoked by the ChatBuilder.

Link copied to clipboard
interface UserName

User details as saved to file.