📄 player.java
字号:
/*
* Created on 2005-9-27 by pcy
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package javax.microedition.media;
public interface Player extends Controllable {
public static final int UNREALIZED = 100;
public static final int REALIZED = 200;
public static final int PREFETCHED = 300;
public static final int STARTED = 400;
public static final int CLOSED = 0;
public static final long TIME_UNKNOWN = -1;
public void realize() throws MediaException;
public void prefetch() throws MediaException;
public void start() throws MediaException;
public void stop() throws MediaException;
public void deallocate();
public void close();
public long setMediaTime(long now) throws MediaException;
public long getMediaTime();
public int getState();
public long getDuration();
public String getContentType();
public void setLoopCount(int count);
public void addPlayerListener(PlayerListener playerListener);
public void removePlayerListener(PlayerListener playerListener);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -