public class AudioTimecode extends Object implements Timecode
| Modifier and Type | Field and Description |
|---|---|
protected long |
milliseconds
The number of milliseconds from the start of the audio file
|
| Constructor and Description |
|---|
AudioTimecode(long milliseconds)
Default constructor that takes the number of milliseconds
into the audio file.
|
| Modifier and Type | Method and Description |
|---|---|
AudioTimecode |
clone()
Clone this timecode.
|
long |
getTimecodeInMilliseconds()
All timecode instances must be able to return the time in seconds
from the beginning of the temporal media.
|
void |
setTimecodeInMilliseconds(long timeInMilliseconds)
Set the current timecode to the given time in seconds, converting
as necessary.
|
String |
toString() |
protected long milliseconds
public AudioTimecode(long milliseconds)
milliseconds - The number of milliseconds from the start of the
audio file.public long getTimecodeInMilliseconds()
getTimecodeInMilliseconds in interface TimecodeTimecode.getTimecodeInMilliseconds()public void setTimecodeInMilliseconds(long timeInMilliseconds)
setTimecodeInMilliseconds in interface TimecodetimeInMilliseconds - The time in seconds.Timecode.setTimecodeInMilliseconds(long)public String toString()
toString in class ObjectObject.toString()