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

    Variable confirmExitConst

    confirmExit: (
        { socket, localSocket, member, roomName, ban }: ConfirmExitOptions,
    ) => Promise<void>

    Confirms the exit of a member from a room and optionally bans them.

    Type Declaration

      • (
            { socket, localSocket, member, roomName, ban }: ConfirmExitOptions,
        ): Promise<void>
      • Parameters

        Returns Promise<void>

        A promise that resolves when the exit is confirmed.

    const options = {
    socket: socketInstance,
    localSocket: localSocketInstance,
    member: "JohnDoe",
    roomName: "Room123",
    ban: true,
    };
    await confirmExit(options);