Package-level declarations
Types
Link copied to clipboard
class ChannelClient
Link copied to clipboard
interface ChannelMessagesUpdateLogic
Functions
Link copied to clipboard
Subscribes to events of type T in the channel.
inline fun <T : ChatEvent> ChannelClient.subscribeFor(lifecycleOwner: LifecycleOwner, listener: ChatEventListener<T>): Disposable
Subscribes to events of type T in the channel, in the lifecycle of lifecycleOwner.
fun ChannelClient.subscribeFor(vararg eventTypes: KClass<out ChatEvent>, listener: ChatEventListener<ChatEvent>): Disposable
Subscribes to the specific eventTypes of the channel.
fun ChannelClient.subscribeFor(lifecycleOwner: LifecycleOwner, vararg eventTypes: KClass<out ChatEvent>, listener: ChatEventListener<ChatEvent>): Disposable
Subscribes to the specific eventTypes of the channel, in the lifecycle of lifecycleOwner.
Link copied to clipboard
inline fun <T : ChatEvent> ChannelClient.subscribeForSingle(listener: ChatEventListener<T>): Disposable
Subscribes for the next channel event of type T.