Channel List View Model
ViewModel preparing and managing data related with the list of channels since 3.0.0
Constructors
Functions
Link copied to clipboard
Tries to connect Sendbird Server.
Link copied to clipboard
Creates group channel list query.
Link copied to clipboard
Live data that can be observed for a list of channels.
Link copied to clipboard
Returns
false
as the channel list do not support to load for the previous by default.Link copied to clipboard
Leaves the targeted channel.
Link copied to clipboard
Requests the list of
GroupChannel
s for the first time.Link copied to clipboard
Returns the empty list as the channel list do not support to load for the previous by default.
Link copied to clipboard
open fun setPushNotification(@NonNull channel: GroupChannel, enable: Boolean, @Nullable handler: OnCompleteHandler)
Sets push notification settings of this channel.