CanReceivePermissionUpdate

@Serializable
data class CanReceivePermissionUpdate(base: CanReceiveMediaPermissionFull?, byUserId: Map<String, CanReceiveMediaPermissionPartial>?, byParticipantId: Map<String, CanReceiveMediaPermissionPartial>?)

A desired update to a participant's canReceive permission.

The update works as follows:

  • base -> if provided, overwrites participant's previous base value

  • byUserId -> if provided, overwrites participant's previous byUserId value

  • byParticipantId -> if provided, overwrites participant's previous byParticipantId value

Any field that is not specified will not be updated.

Constructors

Link copied to clipboard
fun CanReceivePermissionUpdate(base: CanReceiveMediaPermissionFull? = null, byUserId: Map<String, CanReceiveMediaPermissionPartial>? = null, byParticipantId: Map<String, CanReceiveMediaPermissionPartial>? = null)

Properties

Link copied to clipboard
val base: CanReceiveMediaPermissionFull? = null

Which media the participant should be permitted to receive from any remote participant.

Link copied to clipboard
val byParticipantId: Map<String, CanReceiveMediaPermissionPartial>? = null

A mapping between remote participant IDs and the media the local participant should be permitted to receive from that participant.

Link copied to clipboard
val byUserId: Map<String, CanReceiveMediaPermissionPartial>? = null

A mapping between remote userIds and the media the local participant should be permitted to receive from that participant.