Home Reference Source
import {MeetingManager} from '@quobis/sippojs'
public class | source

MeetingManager

ContactManager instance is obtained by calling the Session#getMeetingManager method of Session and must not be directly instantiated.

Method Summary

Public Methods
public

async createMeeting(name: string, participants: Iterable<MeetingParticipant>, validSince: number, validUntil: number, sendSms: boolean, password: string): Promise<Meeting>

Creates a meeting

public

Retrieves a meeting with the following id

public

Retrieves a list with the available meetings

public

async removeMeeting(meeting: object)

Removes a meeting given its id

public

async saveMeeting(meeting: Meeting, sendSms: boolean): Promise<Meeting>

Updates a meeting

Public Methods

public async createMeeting(name: string, participants: Iterable<MeetingParticipant>, validSince: number, validUntil: number, sendSms: boolean, password: string): Promise<Meeting> source

Creates a meeting

Params:

NameTypeAttributeDescription
name string

The name of the meeting.

participants Iterable<MeetingParticipant>

The participants of the new meeting session.

validSince number

The timestamp of the moment when the meeting starts.

validUntil number
  • optional

The timestamp until the meeting is valid.

sendSms boolean
  • optional
  • default: false

If true, an invitation for the meeting will be sent in an SMS by the server.

password string
  • optional

Password for meeting access protection

Return:

Promise<Meeting>

The just created meeting

public async getMeeting(meetingId: string): Observable<ImmutableList<Meeting>> source

Retrieves a meeting with the following id

Params:

NameTypeAttributeDescription
meetingId string

Id of the meeeting to retrieve

public getMeetings$(): Observable<ImmutableList<Meeting>> source

Retrieves a list with the available meetings

public async removeMeeting(meeting: object) source

Removes a meeting given its id

Params:

NameTypeAttributeDescription
meeting object
meeting.id string

public async saveMeeting(meeting: Meeting, sendSms: boolean): Promise<Meeting> source

Updates a meeting

Params:

NameTypeAttributeDescription
meeting Meeting
sendSms boolean
  • optional
  • default: false

Flag used to decide whether to send an SMS message or not

Return:

Promise<Meeting>