Invitation
This class allows access to the details of each outgoing invitation in a Conference
Method Summary
Public Methods | ||
public |
getMediaTypes(): MediaTypes 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 |
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 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
Return:
MediaTypes |
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 hasStreams(): boolean source
Returns true when the conference room has a stream associated to the invited user.