-
Notifications
You must be signed in to change notification settings - Fork 2
/
Player.java
38 lines (23 loc) · 865 Bytes
/
Player.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 int TIME_UNKNOWN = -1;
public void addPlayerListener(PlayerListener playerListener);
public void close();
public void deallocate();
public String getContentType();
public long getDuration();
public long getMediaTime();
public int getState();
public void prefetch();
public void realize();
public void removePlayerListener(PlayerListener playerListener);
public void setLoopCount(int count);
public long setMediaTime(long now);
public void start();
public void stop();
}