Channel Settings View Model
The ViewModel class used in ChannelSettingsScreen.
Since
1.0.0-beta.1
Constructors
Properties
The StateFlow of the UikitGroupChannel.
The StateFlow of the SimpleSendbirdEventState for the leaveChannel request.
The StateFlow of the SimpleSendbirdEventState for the setMyPushTriggerOption request.
The StateFlow of the SendbirdScreenUiState.
The StateFlow of the SimpleSendbirdEventState for the updateChannel request.
Functions
Leaves the current channel. The result will be notified by leaveChannelEventState.
Notifies that the leaveChannel event has been processed to reset leaveChannelEventState to SendbirdEventState.Idle state.
Notifies that the setMyPushTriggerOption event has been processed to reset setMyPushTriggerOptionEventState to SendbirdEventState.Idle state.
Notifies that the updateChannel event has been processed to reset updateChannelEventState to SendbirdEventState.Idle state.
Sets the push trigger option for the current user.
Updates the channel description with the given params.
Updates the channel cover image with the given file.
Updates the channel name with the given name.