Channels View Model
The ViewModel class for ChannelsScreen.
Since
1.0.0
Properties
The StateFlow of the ChannelsEvent.
The StateFlow of the SimpleSendbirdEventState for the leaveChannel request.
The StateFlow of the SimpleSendbirdEventState for the loadMore request.
The StateFlow of the SimpleSendbirdEventState for the setMyPushTriggerOption request.
The StateFlow of the list of UikitGroupChannel.
The StateFlow of the SendbirdScreenUiState.
Functions
Requests to leave the 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 loadMore event has been processed to reset loadMoreEventState to SendbirdEventState.Idle state.
Notifies that the setMyPushTriggerOption event has been processed to reset setMyPushTriggerOptionEventState to SendbirdEventState.Idle state.
Requests to set the push trigger option for the current user for a specific channel.