UNPKG

@twilio/flex-ui

Version:

Twilio Flex UI

27 lines (26 loc) 1.2 kB
import { ConferenceListener } from "./ConferenceListener"; import { ConferenceParticipant } from "./ConferenceParticipant"; import { ConferenceStatus } from "./Conferences.definitions"; /** * Conference type * @typedef Conference * @property {string} sid SID of the task * @property {ConferenceStatus} status status of the conference * @property {string} conferenceSid SID of the conference * @property {Array<ConferenceParticipant>} participants participants in the conference, including the ones who have left * @property {number} liveParticipantCount count of currently live participants * @property {number} liveWorkerCount count of currently live workers * @property {Array<ConferenceParticipant>} liveWorkers active worker participants in the conference * @memberof ConferencesState */ export declare class Conference { sid: string; source: ConferenceListener; status: ConferenceStatus; conferenceSid: string; participants: Array<ConferenceParticipant>; constructor(sid: string, status: ConferenceStatus, conferenceSid: string); get liveParticipantCount(): number; get liveWorkerCount(): number; get liveWorkers(): ConferenceParticipant[]; }