MediaSFU React Native
    Preparing search index...

    Interface ParticipantsModalParameters

    Parameter bundle for ParticipantsModal, providing real-time participant state and helpers.

    ParticipantsModalParameters

    Participant State:

    interface ParticipantsModalParameters {
        position?:
            | "center"
            | "topLeft"
            | "topRight"
            | "bottomLeft"
            | "bottomRight";
        backgroundColor?: string;
        coHostResponsibility: CoHostResponsibility[];
        coHost: string;
        member: string;
        islevel: string;
        participants: Participant[];
        eventType: EventType;
        filteredParticipants: Participant[];
        socket: Socket;
        showAlert?: ShowAlert;
        roomName: string;
        updateIsMessagesModalVisible: (isVisible: boolean) => void;
        updateDirectMessageDetails: (participant: Participant) => void;
        updateStartDirectMessage: (start: boolean) => void;
        updateParticipants: (participants: Participant[]) => void;
        getUpdatedAllParams: () => ParticipantsModalParameters;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any
    Index

    Properties

    position?: "center" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight"
    backgroundColor?: string
    coHostResponsibility: CoHostResponsibility[]

    Responsibility matrix dictating co-host abilities.

    coHost: string

    Username/ID of the acting co-host.

    member: string

    Current user identifier.

    islevel: string

    Current user level (host/co-host/member differentiation).

    Session Context:

    participants: Participant[]

    All known participants for the session.

    eventType: EventType

    Meeting type controlling available actions.

    filteredParticipants: Participant[]

    Current participant collection after applying filters.

    Role & Permissions:

    socket: Socket

    Live socket.io connection for participant management.

    showAlert?: ShowAlert

    Optional alerting callback for feedback.

    Messaging Helpers:

    roomName: string

    Active room identifier.

    updateIsMessagesModalVisible: (isVisible: boolean) => void

    Toggles direct message modal visibility.

    updateDirectMessageDetails: (participant: Participant) => void

    Sets context for direct messages.

    updateStartDirectMessage: (start: boolean) => void

    Toggles direct messaging flow.

    updateParticipants: (participants: Participant[]) => void

    Applies updates to the participant list.

    Utility:

    getUpdatedAllParams: () => ParticipantsModalParameters

    Retrieves latest parameter snapshot.