OpenChannelSettingsViewModel

ViewModel preparing and managing data related with the settings of an open channel since 3.0.0

Constructors

Link copied to clipboard
Constructor

Functions

Link copied to clipboard
Tries to connect Sendbird Server and retrieve a channel instance.
Link copied to clipboard
Updates current channel.
Link copied to clipboard
open fun getChannelUpdated(): LiveData<OpenChannel>
Returns LiveData that can be observed if the channel has been updated.
Link copied to clipboard
protected open fun onCleared()
since 3.0.
Link copied to clipboard
Returns LiveData that can be observed if the Activity or Fragment should be finished.
Link copied to clipboard
open fun updateChannel(@NonNull params: OpenChannelUpdateParams, @Nullable handler: OnCompleteHandler)
Updates current channel.

Properties

Link copied to clipboard
open val channel: OpenChannel
Link copied to clipboard