public class TimingField extends Object implements SdpField
The "t=" lines specify the start and stop times for a session.
Multiple "t=" lines MAY be used if a session is active at multiple
irregularly spaced times; each additional "t=" line specifies an additional
period of time for which the session will be active. If the session is active
at regular times, an "r=" line (see below) should be used in addition to, and
following, a "t=" line -- in which case the "t=" line specifies the start and
stop times of the repeat sequence.
The first and second sub-fields give the start and stop times, respectively, for the session. These values are the decimal representation of Network Time Protocol (NTP) time values in seconds since 1900. To convert these values to UNIX time, subtract decimal 2208988800.
| Modifier and Type | Field and Description |
|---|---|
static char |
FIELD_TYPE |
FIELD_SEPARATOR| Constructor and Description |
|---|
TimingField() |
TimingField(int startTime,
int stopTime) |
| Modifier and Type | Method and Description |
|---|---|
char |
getFieldType()
Gets the type of the field
|
int |
getStartTime() |
int |
getStopTime() |
void |
setStartTime(int startTime) |
void |
setStopTime(int stopTime) |
String |
toString() |
public static final char FIELD_TYPE
public TimingField()
public TimingField(int startTime,
int stopTime)
public int getStartTime()
public void setStartTime(int startTime)
public int getStopTime()
public void setStopTime(int stopTime)
public char getFieldType()
SdpFieldgetFieldType in interface SdpFieldCopyright © 2017 TeleStax, Inc.. All Rights Reserved.