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

    Interface ParticipantsModalParameters

    Interface defining the parameters for the ParticipantsModal component.

    ParticipantsModalParameters

    Display Settings:

    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"

    Modal position on screen

    backgroundColor?: string

    Background color of the modal

    Participant Data:

    coHostResponsibility: CoHostResponsibility[]

    Co-host permissions and responsibilities

    coHost: string

    Co-host user ID

    member: string

    Current user's member ID

    islevel: string

    Current user's level/role ('0'=participant, '1'=moderator, '2'=host)

    Session Info:

    participants: Participant[]

    Array of all participants in the session

    eventType: EventType

    Type of event ('conference', 'webinar', 'broadcast', etc.)

    filteredParticipants: Participant[]

    Filtered list based on search/filter criteria

    socket: Socket

    Socket.io client for real-time communication

    showAlert?: ShowAlert

    Function to display alerts/notifications

    State Update Functions:

    roomName: string

    Name/ID of the current room

    updateIsMessagesModalVisible: (isVisible: boolean) => void

    Toggle messages modal visibility

    updateDirectMessageDetails: (participant: Participant) => void

    Set direct message recipient

    updateStartDirectMessage: (start: boolean) => void

    Initiate direct message flow

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

    Update participants list

    Utility:

    getUpdatedAllParams: () => ParticipantsModalParameters

    Get latest parameter state