Builder

data class Builder(chatRoomToken: String, var refreshToken: String? = null)

Builder class for creating a BVMessageManager instance.

Constructors

Link copied to clipboard
constructor(chatRoomToken: String, refreshToken: String? = null)

Properties

Link copied to clipboard
var refreshToken: String?

The token used to refresh the chat room token.

Functions

Link copied to clipboard

Builds and returns a new instance of BVMessageManager.

Link copied to clipboard
fun setBatchCountableCustomInterval(batchCountableCustomInterval: Long): BVMessageManager.Builder

Sets the interval for batching countable custom messages.

Link copied to clipboard

Sets the event listener for the chat room.

Link copied to clipboard

Sets the message listener for the chat room.

Link copied to clipboard
fun setUpdateCustomMessageCountInterval(updateCustomMessageCountInterval: Long): BVMessageManager.Builder

Sets the interval for updating custom message counts.