SendbirdUikitCompose

Properties

Link copied to clipboard
val currentUserInfo: UikitCurrentUserInfo?

The current user information in Sendbird Compose Uikit. This should be set before calling connect.

Link copied to clipboard
val customHost: UikitCustomHost?

The custom host information to be used in SendbirdChat.connect.

Link copied to clipboard

Sets the logger level for the Sendbird Uikit.

Functions

Link copied to clipboard
suspend fun connect(): UikitUser

Create a websocket connection to SendbirdChat with preset UikitCurrentUserInfo from prepare.

Link copied to clipboard
suspend fun disconnect()
Link copied to clipboard
suspend fun disconnectWebSocket()
Link copied to clipboard
fun init(initParams: UikitInitParams): Flow<UikitInitResult>

Initializes Sendbird Uikit with given UikitInitParams.

Link copied to clipboard
fun prepare(userInfo: UikitCurrentUserInfo, customHost: UikitCustomHost? = null)