CanReceivePermissionUpdate

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

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
constructor(base: CanReceiveMediaPermissionFull? = null, byUserId: Map<String, CanReceiveMediaPermissionPartial>? = null, byParticipantId: Map<String, CanReceiveMediaPermissionPartial>? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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