feat(rn-sdk): add onParticipantLeft event listener

This commit is contained in:
Abbas Al-Mansoori
2023-12-12 08:48:06 +01:00
committed by Calinteodor
parent 5fe3685a05
commit 60b5225ffd
2 changed files with 11 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ interface IEventListeners {
onConferenceWillJoin?: Function;
onEnterPictureInPicture?: Function;
onParticipantJoined?: Function;
onParticipantLeft?: ({ id }: { id: string }) => void;
onReadyToClose?: Function;
}
@@ -118,6 +119,7 @@ export const JitsiMeeting = forwardRef((props: IAppProps, ref) => {
onConferenceLeft: eventListeners?.onConferenceLeft,
onEnterPictureInPicture: eventListeners?.onEnterPictureInPicture,
onParticipantJoined: eventListeners?.onParticipantJoined,
onParticipantLeft: eventListeners?.onParticipantLeft,
onReadyToClose: eventListeners?.onReadyToClose
},
'url': urlProps,