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
24 lines (23 loc) • 996 B
TypeScript
export interface MeetingStillThereOptions {
updateIsConfirmHereModalVisible: (isVisible: boolean) => void;
}
export type MeetingStillThereType = (options: MeetingStillThereOptions) => Promise<void>;
/**
* 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 declare const meetingStillThere: ({ updateIsConfirmHereModalVisible, }: MeetingStillThereOptions) => Promise<void>;