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 |
async getMeeting(meetingId: string): Observable<ImmutableList<Meeting>> 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:
Name | Type | Attribute | Description |
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 |
|
The timestamp until the meeting is valid. |
sendSms | boolean |
|
If true, an invitation for the meeting will be sent in an SMS by the server. |
password | string |
|
Password for meeting access protection |
public async getMeeting(meetingId: string): Observable<ImmutableList<Meeting>> source
Retrieves a meeting with the following id
Params:
Name | Type | Attribute | Description |
meetingId | string | Id of the meeeting to retrieve |
public getMeetings$(): Observable<ImmutableList<Meeting>> source
Retrieves a list with the available meetings