MediaSFU React Native (Expo)
    Preparing search index...

    Interface ConfirmHereModalOptions

    Configuration options for the ConfirmHereModal component.

    ConfirmHereModalOptions

    Modal Control:

    interface ConfirmHereModalOptions {
        isConfirmHereModalVisible: boolean;
        onConfirmHereClose: () => void;
        backgroundColor?: string;
        countdownDuration?: number;
        socket: Socket;
        localSocket?: Socket;
        roomName: string;
        member: string;
        style?: object;
        renderContent?: (
            options: {
                defaultContent: Element;
                dimensions: { width: number; height: number };
            },
        ) => Element;
        renderContainer?: (
            options: {
                defaultContainer: Element;
                dimensions: { width: number; height: number };
            },
        ) => ReactNode;
    }
    Index

    Properties

    isConfirmHereModalVisible: boolean

    Controls modal visibility

    onConfirmHereClose: () => void

    Callback when modal is closed (after confirmation or timeout)

    Countdown Configuration:

    backgroundColor?: string

    Modal background color

    countdownDuration?: number

    Duration in seconds for user to confirm presence before auto-disconnect

    Session Context:

    socket: Socket

    Primary Socket.io instance for disconnect event emission

    localSocket?: Socket

    Optional local Socket.io instance for additional disconnect notification

    roomName: string

    Room identifier for disconnect event

    member: string

    Member name/ID to disconnect if no confirmation received

    Customization:

    style?: object

    Additional custom styles for modal container

    Advanced Render Overrides:

    renderContent?: (
        options: {
            defaultContent: Element;
            dimensions: { width: number; height: number };
        },
    ) => Element

    Custom render function for modal content

    renderContainer?: (
        options: {
            defaultContainer: Element;
            dimensions: { width: number; height: number };
        },
    ) => ReactNode

    Custom render function for modal container