Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Inherited 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.

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

Subscribes for the next channel event of type T.