| example.mmademo.VideoPlayer
VideoPlayer | public class VideoPlayer extends Form implements Runnable,CommandListener,PlayerListener(Code) | | Play Video/Capture in a Form using MMAPI
|
Inner Class :class SnapshotThread extends Thread | |
Constructor Summary | |
public | VideoPlayer(Display parentDisplay) |
VideoPlayer | public VideoPlayer(Display parentDisplay)(Code) | | |
close | public void close()(Code) | | |
commandAction | public void commandAction(Command c, Displayable s)(Code) | | |
initialize | void initialize()(Code) | | |
pause | public void pause()(Code) | | |
pauseApp | public synchronized void pauseApp()(Code) | | Deallocate the player and the display thread.
Some VM's may stop players and threads
on their own, but for consistent user
experience, it's a good idea to explicitly
stop and start resources such as player
and threads.
|
start | public void start()(Code) | | |
startApp | public synchronized void startApp()(Code) | | If the player was playing when the MIDlet was paused,
then the player will be restarted here.
|
stopVideoPlayer | public synchronized void stopVideoPlayer()(Code) | | |
|
|