DytePermissionsPreset
The DytePermissionsPreset class represents the meeting permissions for the current participant
- DytePermissionsPreset
- .stageEnabled
- .stageAccess
- .acceptWaitingRequests
- .requestProduceVideo
- .requestProduceAudio
- .requestProduceScreenshare
- .canAllowParticipantAudio
- .canAllowParticipantScreensharing
- .canAllowParticipantVideo
- .canDisableParticipantAudio
- .canDisableParticipantVideo
- .kickParticipant
- .pinParticipant
- .canRecord
- .waitingRoomBehaviour
- .plugins
- .polls
- .canProduceVideo
- .canProduceScreenshare
- .canProduceAudio
- .chatPublic
- .chatPrivate
- .hiddenParticipant
- .showParticipantList
- .canChangeParticipantPermissions
- .canLivestream
permissions.stageEnabled
The stageEnabled
property returns a boolean value.
If true
, stage management is available for the participant.
permissions.stageAccess
The stageAccess
property dictactes how a user interacts with the stage.
There possible values are ALLOWED
, NOT_ALLOWED
, CAN_REQUEST
;
permissions.acceptWaitingRequests
The acceptWaitingRequests
returns boolean value.
If true
, participant can accept the request of waiting participant.
permissions.requestProduceVideo
The requestProduceVideo
returns boolean value.
If true
, participant can send request to participants
about producing video.
permissions.requestProduceAudio
The requestProduceAudio
returns boolean value.
If true
, participant can send request to participants
about producing audio.
permissions.requestProduceScreenshare
The requestProduceScreenshare
returns boolean value.
If true
, participant can send request to participants
about sharing screen.
permissions.canAllowParticipantAudio
The canAllowParticipantAudio
returns boolean value.
If true
, participant can enable other participants` audio.
permissions.canAllowParticipantScreensharing
The canAllowParticipantScreensharing
returns boolean value.
If true
, participant can enable other participants` screen share.
permissions.canAllowParticipantVideo
The canAllowParticipantVideo
returns boolean value.
If true
, participant can enable other participants` video.
permissions.canDisableParticipantAudio
If true
, a participant can disable other participants` audio.
permissions.canDisableParticipantVideo
If true
, a participant can disable other participants` video.
permissions.kickParticipant
The kickParticipant
returns boolean value.
If true
, participant can remove other participants from the meeting.
permissions.pinParticipant
The pinParticipant
returns boolean value.
If true
, participant can pin a participant in the meeting.
permissions.canRecord
The canRecord
returns boolean value.
If true
, participant can record the meeting.
permissions.waitingRoomBehaviour
The waitingRoomType
returns string value.
type of waiting room behavior
possible values are SKIP
, ON_PRIVILEGED_USER_ENTRY
, SKIP_ON_ACCEPT
permissions.plugins
The plugins
tells if the participant can act on plugins
there are 2 permissions with boolean values, canStart
and canClose
.
permissions.polls
The polls
tells if the participant can use polls.
There are 3 permissions with boolean values, canCreate
, canVote
, canViewResults
permissions.canProduceVideo
The canProduceVideo
shows permissions for enabling video.
There possible values are ALLOWED
, NOT_ALLOWED
, CAN_REQUEST
permissions.canProduceScreenshare
The canProduceScreenshare
shows permissions for sharing screen.
There possible values are ALLOWED
, NOT_ALLOWED
, CAN_REQUEST
permissions.canProduceAudio
The canProduceAudio
shows permissions for enabling audio.
There possible values are ALLOWED
, NOT_ALLOWED
, CAN_REQUEST
permissions.chatPublic
The chatPublic
shows permissions for public chat
there are 4 permissions
canSend
- if true, the participant can send chat
text
- if true, the participant can send text
files
- if true, the participant can send files
permissions.chatPrivate
The chatPrivate
shows permissions for public chat
there are 4 permissions
canSend
- if true, the participant can send private chat
text
- if true, the participant can send text as private chat
files
- if true, the participant can send files as private chat
canReceive
- (optional) if true, the participant can receive private chat
permissions.hiddenParticipant
The hiddenParticipant
returns boolean value.
If true
, participant is hidden.
permissions.showParticipantList
The showParticipantList
returns boolean value.
If true
, participant list can be shown to the participant.
permissions.canChangeParticipantPermissions
The canChangeParticipantPermissions
returns boolean value.
If true
, allow changing the participants' permissions.
permissions.canLivestream
Livestream
permissions.canChangeTheme
Deprecated
permissions.canPresent
Deprecated
permissions.acceptPresentRequests
Deprecated
permissions.maxScreenShareCount
Deprecated
permissions.produceAudio
Deprecated
permissions.produceScreenshare
Deprecated
permissions.waitingRoomType
Deprecated
permissions.produceVideo
Deprecated
permissions.requestProduce
Deprecated
permissions.canChangeParticipantRole
Deprecated