Package-level declarations
Types
Link copied to clipboard
class ChatClient
The ChatClient is the main entry point for all low-level operations on chat
Link copied to clipboard
Functions
Link copied to clipboard
Subscribes to client events of type T.
inline fun <T : ChatEvent> ChatClient.subscribeFor(lifecycleOwner: LifecycleOwner, listener: ChatEventListener<T>): Disposable
Subscribes to client events of type T, in the lifecycle of lifecycleOwner.
fun ChatClient.subscribeFor(vararg eventTypes: KClass<out ChatEvent>, listener: ChatEventListener<ChatEvent>): Disposable
Subscribes to the specific eventTypes of the client.
fun ChatClient.subscribeFor(lifecycleOwner: LifecycleOwner, vararg eventTypes: KClass<out ChatEvent>, listener: ChatEventListener<ChatEvent>): Disposable
Subscribes to the specific eventTypes of the client, in the lifecycle of lifecycleOwner.
Link copied to clipboard
inline fun <T : ChatEvent> ChatClient.subscribeForSingle(listener: ChatEventListener<T>): Disposable
Subscribes for the next client event of type T.