The options for handling screen changes.
A promise that resolves when the screen changes have been handled.
await onScreenChanges({
changed: true,
parameters: {
eventType: 'conference',
shareScreenStarted: false,
shared: false,
addForBasic: false,
updateMainHeightWidth: (height) => console.log('Updated height:', height),
updateAddForBasic: (value) => console.log('Updated addForBasic:', value),
itemPageLimit: 2,
updateItemPageLimit: (limit) => console.log('Updated item page limit:', limit),
reorderStreams: async (options) => console.log('Reordered streams with options:', options),
},
});
Handles changes in screen events such as broadcast, chat, and conference.