SendbirdViewModelContract

Properties

Link copied to clipboard
abstract val uiState: StateFlow<SendbirdScreenUiState>

The StateFlow of the SendbirdScreenUiState. This state is used to represent whether the screen is ready render the data.

Functions

Link copied to clipboard
abstract fun prepare()

The preparation process required for the screen. This contains the Chat SDK's connection by SendbirdChat.connect and getting the channel object ready if necessary.