public class VersionField extends Object implements SdpField
The "v=" field gives the version of the Session Description Protocol.
This implementation defines version 0 as written on rfc4566. There is no
minor version number.
| Modifier and Type | Field and Description |
|---|---|
static String |
BEGIN |
static char |
FIELD_TYPE |
FIELD_SEPARATOR| Constructor and Description |
|---|
VersionField() |
VersionField(short version) |
| Modifier and Type | Method and Description |
|---|---|
char |
getFieldType()
Gets the type of the field
|
short |
getVersion() |
void |
setVersion(short version) |
String |
toString() |
public static final char FIELD_TYPE
public static final String BEGIN
public VersionField()
public VersionField(short version)
public char getFieldType()
SdpFieldgetFieldType in interface SdpFieldpublic short getVersion()
public void setVersion(short version)
Copyright © 2018 TeleStax, Inc.. All rights reserved.