|
Copyright 2002-2003 Sun Microsystems, Inc.; Nokia Corporation. See the Copyright Notice and Specification License for more details. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A TimeBase
is a constantly ticking source of time.
It measures the progress of time and
provides the basic means for synchronizing media playback for
Player
s.
A TimeBase
measures time in microseconds in
order to provide the necessary resolution for synchronization.
It is acknowledged that some implementations may not be able to
support time resolution in the microseconds range. For such
implementations, the internal representation of time can be done
within their limits.
But the time reported via the API must be scaled to the microseconds
range.
Manager.getSystemTimeBase
provides the default
TimeBase
used by the system.
Player
Method Summary | |
long |
getTime()
Get the current time of this TimeBase . |
Method Detail |
public long getTime()
TimeBase
. The values
returned must be non-negative and non-decreasing over time.
TimeBase
time in microseconds.
|
Copyright 2002-2003 Sun Microsystems, Inc.; Nokia Corporation. See the Copyright Notice and Specification License for more details. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |