Invitation
This class allows access to the details of each outgoing invitation in a Conference
Method Summary
Public Methods | ||
public |
Obtains the mediaTypes for this invitation. |
|
public |
Returns The response code of the invitation. |
|
public |
Returns the timestamp when this invitation object was created. |
|
public |
Obtains the "gateway username" of the invited user. |
|
public |
Obtains the User object representing the WAC user of the invited user If we are not inviting a wac user, this will be empty. |
|
public |
Returns true when the conference room has a stream associated to the invited user. |
|
public |
Utility method that returns true when the invitation does not has a response code and it it not cancelled. |
|
public |
Returns true when the invitation is marked as "auto accepted". |
|
public |
Returns true when the user has cancelled this invitation. |
Public Methods
public getMediaTypes(): MediaTypes source
Obtains the mediaTypes for this invitation. This allow us to guess if we are inviting the user with audio & video, or only with audio and video
public getResponseCode(): number source
Returns The response code of the invitation. This will be a 200 (OK) when the invited user accepts the invitation.
public getTimestamp(): number source
Returns the timestamp when this invitation object was created. This is useful to keep the client showing the invitations with errors for a period of time.
public getToUser(): Object source
Obtains the User object representing the WAC user of the invited user If we are not inviting a wac user, this will be empty.
public hasStreams(): boolean source
Returns true when the conference room has a stream associated to the invited user.
public isActive(): boolean source
Utility method that returns true when the invitation does not has a response code and it it not cancelled.