toggleWhiteboard()
toggleWhiteboard(show: boolean, id: string)
Sets a concrete whiteboard visibility state.
//This will open the whiteboard, equivalent to sambaFrame.openWhiteboard(...);
sambaFrame.toggleWhiteboard(true, 'c0771004-c9fc-4308-be4f-6264d8e486af');
//This will close the whiteboard, equivalent to sambaFrame.closeWhiteboard(...);
sambaFrame.toggleWhiteboard(false, 'c0771004-c9fc-4308-be4f-6264d8e486af');
Sample use case: You may have a button in your application to control the whiteboard visibility.
Last updated