ChannelPushSettingViewModel

ViewModel preparing and managing data related with the push setting of a 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
open fun getChannelUpdated(): LiveData<GroupChannel>
Returns LiveData that can be observed if the channel has been updated.
Link copied to clipboard
protected open fun onCleared()
Link copied to clipboard
open fun requestPushOption(@NonNull option: GroupChannel.PushTriggerOption, @Nullable handler: OnCompleteHandler)
Sets the push notification to on, off, or mentions only for the current channel.
Link copied to clipboard
Returns LiveData that can be observed if the Activity or Fragment should be finished.

Properties

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