public class AttributeField extends Object implements SdpField
Attributes are the primary means for extending SDP.
Attributes may be defined to be used as "session-level" attributes,
"media-level" attributes, or both.
A media description may have any number of attributes ("a=" fields) that are media specific. These are referred to as "media-level" attributes and add information about the media stream. Attribute fields can also be added before the first media field; these "session-level" attributes convey additional information that applies to the conference as a whole rather than to individual media.
Attribute fields may be of two forms:
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_SEPARATOR |
protected static String |
BEGIN |
protected static int |
BEGIN_LENGTH |
protected StringBuilder |
builder |
static char |
FIELD_TYPE |
protected String |
key |
protected String |
value |
FIELD_SEPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
AttributeField() |
protected |
AttributeField(String key) |
protected |
AttributeField(String key,
String value) |
| Modifier and Type | Method and Description |
|---|---|
char |
getFieldType()
Gets the type of the field
|
String |
getKey() |
String |
getValue() |
String |
toString() |
public static final String ATTRIBUTE_SEPARATOR
public static final char FIELD_TYPE
protected static final String BEGIN
protected static final int BEGIN_LENGTH
protected final StringBuilder builder
protected String key
protected String value
protected AttributeField()
protected AttributeField(String key)
public String getKey()
public String getValue()
public char getFieldType()
SdpFieldgetFieldType in interface SdpFieldCopyright © 2018 TeleStax, Inc.. All rights reserved.