public class BandwidthPacketExtension extends AbstractPacketExtension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The name of the "bandwidth" element.
|
static java.lang.String |
TYPE_ATTR_NAME
The name of the type argument.
|
attributes
Constructor and Description |
---|
BandwidthPacketExtension()
Creates a new
BandwidthPacketExtension instance. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBandwidth()
Returns the value of this bandwidth extension.
|
java.lang.String |
getType()
Returns the value of the optional type argument in the
bandwidth element.
|
void |
setBandwidth(java.lang.String bw)
Sets the value of this bandwidth extension.
|
void |
setType(java.lang.String type)
Sets the value of the optional type argument in the
bandwidth element.
|
addChildExtension, addPacket, clone, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getPackets, getText, removeAttribute, setAttribute, setNamespace, setText, toXML
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String TYPE_ATTR_NAME
public BandwidthPacketExtension()
BandwidthPacketExtension
instance.public void setType(java.lang.String type)
type
- a String value which would often be one of the
bwtype values specified by SDPpublic java.lang.String getType()
public void setBandwidth(java.lang.String bw)
bw
- the value of this bandwidth extension.public java.lang.String getBandwidth()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.