public interface TimeStampHeader extends Header
For Example:
Timestamp: 54
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Name of TimeStampHeader
|
| Modifier and Type | Method and Description |
|---|---|
float |
getDelay()
Deprecated.
This method is replaced with
getTimeDelay(). |
long |
getTime()
Gets the timestamp value of this TimeStampHeader.
|
int |
getTimeDelay()
Gets delay of TimeStampHeader.
|
float |
getTimeStamp()
Deprecated.
This method is replaced with
getTime(). |
void |
setDelay(float delay)
Deprecated.
This method is replaced with
setTimeDelay(int). |
void |
setTime(long timeStamp)
Sets the timestamp value of this TimeStampHeader to the new timestamp
value passed to this method.
|
void |
setTimeDelay(int delay)
Sets the new delay value of the TimestampHeader to the delay parameter
passed to this method
|
void |
setTimeStamp(float timeStamp)
Deprecated.
This method is replaced with
setTimeStamp(float). |
static final String NAME
void setTimeStamp(float timeStamp)
throws InvalidArgumentException
setTimeStamp(float).timeStamp - - the new float timestamp valueInvalidArgumentException - if the timestamp value argument is a
negative value.float getTimeStamp()
getTime().long getTime()
void setTime(long timeStamp)
throws InvalidArgumentException
timeStamp - - the new long timestamp valueInvalidArgumentException - if the timestamp value argument is a
negative value.float getDelay()
getTimeDelay().-1 if the
delay parameter is not set.void setDelay(float delay)
throws InvalidArgumentException
setTimeDelay(int).delay - - the new float delay valueInvalidArgumentException - if the delay value argumenmt is a
negative value other than the default value -1.int getTimeDelay()
-1 if the
delay parameter is not set.void setTimeDelay(int delay)
throws InvalidArgumentException
delay - - the new int delay valueInvalidArgumentException - if the delay value argumenmt is a
negative value other than the default value -1.Copyright © 2018. All Rights Reserved.