Class Overview
The SmilPlayer is responsible for playing, stopping, pausing and resuming a SMIL tree.
It creates a whole timeline before playing.
The player runs in a different thread which intends not to block the main thread.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.lang.Runnable
|
Constants
public
static
final
String
MEDIA_TIME_UPDATED_EVENT
Constant Value:
"mediaTimeUpdated"
Public Methods
public
synchronized
int
getCurrentPosition
()
public
synchronized
int
getDuration
()
public
synchronized
boolean
isPausedState
()
public
synchronized
boolean
isPlayedState
()
public
synchronized
boolean
isPlayingState
()
public
synchronized
boolean
isStoppedState
()
public
synchronized
void
next
()
public
synchronized
void
pause
()
public
synchronized
void
play
()
public
synchronized
void
prev
()
public
synchronized
void
reload
()
public
synchronized
void
start
()
public
synchronized
void
stop
()
public
synchronized
void
stopWhenReload
()