import Collection from '../common/collection'; import { MEETING_KEY } from './meetings.types'; /** * @export * @class MeetingCollection */ export default class MeetingCollection extends Collection { /** * @constructor * @public * @memberof MeetingCollection */ constructor(); set(meeting: any): any; /** * get a specific meeting searching for key * @param {MEETING_KEY} key * @param {Any} value * @returns {Meeting} if found, else returns null * @public * @memberof MeetingCollection */ getByKey(key: MEETING_KEY, value: any): any; /** * get a specific meeting searching for key * @param {String} breakoutUrl * @returns {Meeting} if found, else returns null * @public * @memberof MeetingCollection */ getActiveBreakoutLocus(breakoutUrl: string): any; /** * Gets the meeting that has a webrtc media connection * NOTE: this function assumes there is no more than 1 such meeting * * @returns {Meeting} first meeting found, else undefined * @public * @memberof MeetingCollection */ getActiveWebrtcMeeting(): any; }