mediasfu-reactnative-expo
Version:
mediasfu-reactnative-expo – Expo-managed React Native WebRTC SDK for video conferencing, webinars, live streaming, broadcast, screen sharing, whiteboard, chat, recording, live subtitles, translation, and AI agent rooms on iOS, Android, and web. Prebuilt r
25 lines • 967 B
JavaScript
import { meetingStillThere as sharedMeetingStillThere } from 'mediasfu-shared';
/**
* Handles the "still there?" meeting check by updating the visibility of the confirmation modal.
*
* @param {MeetingStillThereOptions} options - The options for the meeting still-there check.
* @param {Function} options.updateIsConfirmHereModalVisible - Function to update the visibility of the "still there?" modal.
* @returns {Promise<void>} A promise that resolves when the modal visibility is updated.
*
* @example
* ```typescript
* const options = {
* updateIsConfirmHereModalVisible: (isVisible) => console.log(`Modal visibility: ${isVisible}`),
* };
*
* await meetingStillThere(options);
* // Output:
* // "Modal visibility: true"
* ```
*/
export const meetingStillThere = async ({ updateIsConfirmHereModalVisible, }) => {
return sharedMeetingStillThere({
updateIsConfirmHereModalVisible,
});
};
//# sourceMappingURL=meetingStillThere.js.map