public class ConferenceDescription
extends java.lang.Object
Constructor and Description |
---|
ConferenceDescription()
Creates a new instance.
|
ConferenceDescription(java.lang.String uri)
Creates a new instance with the specified uri.
|
ConferenceDescription(java.lang.String uri,
java.lang.String callId)
Creates a new instance with the specified uri and callId
|
ConferenceDescription(java.lang.String uri,
java.lang.String callId,
java.lang.String password)
Creates a new instance with the specified uri, callId
and password.
|
Modifier and Type | Method and Description |
---|---|
void |
addTransport(java.lang.String transport)
Adds a Transport to the set of Transports supported
by the conference.
|
boolean |
compareConferenceDescription(ConferenceDescription cd)
Checks if two ConferenceDescription instances have the same
call id, URI and supported transports.
|
java.lang.String |
getCallId()
Gets the call ID of this ConferenceDescription
|
java.lang.String |
getDisplayName()
Returns the display name of the conference.
|
java.lang.String |
getPassword()
Gets the password of this ConferenceDescription
|
java.lang.String |
getSubject()
Gets the subject of this ConferenceDescription.
|
java.util.Set<java.lang.String> |
getSupportedTransports()
Returns the transports supported by this ConferenceDescription
|
java.lang.String |
getUri()
Gets the uri of this ConferenceDescription.
|
boolean |
isAvailable()
Checks if the conference is available.
|
void |
setAvailable(boolean available)
Sets the availability of this ConferenceDescription.
|
void |
setCallId(java.lang.String callId)
Sets the call ID of this ConferenceDescription.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the conference.
|
void |
setPassword(java.lang.String password)
Sets the auth of this ConferenceDescription.
|
void |
setSubject(java.lang.String subject)
Sets the subject of this ConferenceDescription.
|
void |
setUri(java.lang.String uri)
Sets the uri of this ConferenceDescription.
|
boolean |
supportsTransport(java.lang.String transport)
Checks whether transport is supported by this
ConferenceDescription.
|
java.lang.String |
toString() |
public ConferenceDescription(java.lang.String uri, java.lang.String callId, java.lang.String password)
uri
- the uri to set.callId
- the callId to set.password
- the auth to set.public ConferenceDescription(java.lang.String uri, java.lang.String callId)
uri
- the uri to set.callId
- the callId to set.public ConferenceDescription(java.lang.String uri)
uri
- the uri to set.public ConferenceDescription()
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName
- the display name to setpublic java.lang.String getUri()
public void setUri(java.lang.String uri)
uri
- the value to setpublic java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject
- the value to setpublic java.lang.String getCallId()
public void setCallId(java.lang.String callId)
callId
- the value to setpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the value to setpublic boolean isAvailable()
public void setAvailable(boolean available)
available
- the value to setpublic void addTransport(java.lang.String transport)
transport
- the Transport to add.public boolean supportsTransport(java.lang.String transport)
transport
- the Transport to check.public java.util.Set<java.lang.String> getSupportedTransports()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean compareConferenceDescription(ConferenceDescription cd)
cd1
- the first ConferenceDescription instance.cd2
- the second ConferenceDescription instance.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.