Interface CoHostModalOptions

interface CoHostModalOptions {
    isCoHostModalVisible: boolean;
    currentCohost?: string;
    participants: Participant[];
    coHostResponsibility: CoHostResponsibility[];
    position?: string;
    backgroundColor?: string;
    roomName: string;
    showAlert?: ShowAlert;
    updateCoHostResponsibility: ((coHostResponsibility: CoHostResponsibility[]) => void);
    updateCoHost: ((coHost: string) => void);
    updateIsCoHostModalVisible: ((isCoHostModalVisible: boolean) => void);
    socket: Socket<DefaultEventsMap, DefaultEventsMap>;
    onCoHostClose: (() => void);
    onModifyEventSettings?: ((settings: ModifyCoHostSettingsOptions) => void);
}

Properties

isCoHostModalVisible: boolean
currentCohost?: string
participants: Participant[]
coHostResponsibility: CoHostResponsibility[]
position?: string
backgroundColor?: string
roomName: string
showAlert?: ShowAlert
updateCoHostResponsibility: ((coHostResponsibility: CoHostResponsibility[]) => void)
updateCoHost: ((coHost: string) => void)
updateIsCoHostModalVisible: ((isCoHostModalVisible: boolean) => void)
socket: Socket<DefaultEventsMap, DefaultEventsMap>
onCoHostClose: (() => void)
onModifyEventSettings?: ((settings: ModifyCoHostSettingsOptions) => void)