RoomParticipantStore

abstract class RoomParticipantStore

Room participant management related interfaces, managing participant permissions, device control, message muting and other operations.

Overview

RoomParticipantStore Manage participant permissions, device control, message muting and other operations in the room. Room participant management provides complete participant lifecycle management, including permission management, device control, message muting and other features. RoomParticipantStore provides a comprehensive set of APIs to manage room participant related operations.

Key Features

  • Permission Management:Supports transferring owner, setting/revoking admin, kicking users and other operations

  • Device Control:Supports closing participant devices, disabling all devices and other operations

  • Message Muting:Supports muting individual users or all users

  • Device Request/Invitation:Supports requesting to open device, inviting to open device and other bidirectional interactions

Tip: Participant status updates are delivered through state publisher. Subscribe to it to receive real-time updates about participant list.

Topics

Creating Instance

Observing State and Events

Participant List

Permission Management

Local Microphone Control

Device Control

Device Request Operations

Device Invitation Operations

See Also

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Participant related state data provided by RoomParticipantStore

Functions

Link copied to clipboard
abstract fun acceptOpenDeviceInvitation(userID: String, device: DeviceType, completion: CompletionHandler?)

Accept open device invitation

Link copied to clipboard

Add participant event callback listener

Link copied to clipboard
abstract fun approveOpenDeviceRequest(device: DeviceType, userID: String, completion: CompletionHandler?)

Approve open device request

Link copied to clipboard
abstract fun cancelOpenDeviceInvitation(userID: String, device: DeviceType, completion: CompletionHandler?)

Cancel open device invitation

Link copied to clipboard
abstract fun cancelOpenDeviceRequest(device: DeviceType, completion: CompletionHandler?)

Cancel open device request

Link copied to clipboard
abstract fun closeParticipantDevice(userID: String, device: DeviceType, completion: CompletionHandler?)

Close participant device

Link copied to clipboard
abstract fun declineOpenDeviceInvitation(userID: String, device: DeviceType, completion: CompletionHandler?)

Decline open device invitation

Link copied to clipboard
abstract fun disableAllDevices(device: DeviceType, disable: Boolean, completion: CompletionHandler?)

Disable all devices

Link copied to clipboard
abstract fun disableAllMessages(disable: Boolean, completion: CompletionHandler?)

Mute all users

Link copied to clipboard
abstract fun disableUserMessage(userID: String, disable: Boolean, completion: CompletionHandler?)

Mute user

Link copied to clipboard

Get participant list

Link copied to clipboard
abstract fun inviteToOpenDevice(userID: String, device: DeviceType, timeout: Int = 0, completion: CompletionHandler?)

Invite to open device

Link copied to clipboard
abstract fun kickUser(userID: String, completion: CompletionHandler?)

Kick user

Link copied to clipboard
abstract fun muteMicrophone()

Mute microphone

Link copied to clipboard
abstract fun rejectOpenDeviceRequest(device: DeviceType, userID: String, completion: CompletionHandler?)

Reject open device request

Link copied to clipboard

Remove participant event callback listener

Link copied to clipboard
abstract fun requestToOpenDevice(device: DeviceType, timeout: Int = 0, completion: CompletionHandler?)

Request to open device

Link copied to clipboard
abstract fun revokeAdmin(userID: String, completion: CompletionHandler?)

Revoke admin

Link copied to clipboard
abstract fun setAdmin(userID: String, completion: CompletionHandler?)

Set admin

Link copied to clipboard
abstract fun transferOwner(userID: String, completion: CompletionHandler?)

Transfer owner

Link copied to clipboard
abstract fun unmuteMicrophone(completion: CompletionHandler?)

Unmute microphone

Link copied to clipboard
abstract fun updateParticipantMetaData(userID: String, metaData: HashMap<String, ByteArray>, completion: CompletionHandler?)

Update participant metadata

Link copied to clipboard
abstract fun updateParticipantNameCard(userID: String, nameCard: String, completion: CompletionHandler?)

Update participant name card