Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.siemens.mp.media
Interface Player  view Player download Player.java

All Superinterfaces:
Controllable

public interface Player
extends Controllable


Field Summary
static int CLOSED
           
static int PREFETCHED
           
static int REALIZED
           
static int STARTED
           
static long TIME_UNKNOWN
           
static int UNREALIZED
           
 
Method Summary
 void addPlayerListener(PlayerListener playerlistener)
           
 void close()
           
 void deallocate()
           
 java.lang.String getContentType()
           
 long getDuration()
           
 long getMediaTime()
           
 int getState()
           
 TimeBase getTimeBase()
           
 void prefetch()
           
 void realize()
           
 void removePlayerListener(PlayerListener playerlistener)
           
 void setLoopCount(int i)
           
 long setMediaTime(long l)
           
 void setTimeBase(TimeBase timebase)
           
 void start()
           
 void stop()
           
 
Methods inherited from interface com.siemens.mp.media.Controllable
getControl, getControls
 

Field Detail

UNREALIZED

public static final int UNREALIZED
See Also:
Constant Field Values

REALIZED

public static final int REALIZED
See Also:
Constant Field Values

PREFETCHED

public static final int PREFETCHED
See Also:
Constant Field Values

STARTED

public static final int STARTED
See Also:
Constant Field Values

CLOSED

public static final int CLOSED
See Also:
Constant Field Values

TIME_UNKNOWN

public static final long TIME_UNKNOWN
See Also:
Constant Field Values
Method Detail

realize

public void realize()
             throws MediaException

prefetch

public void prefetch()
              throws MediaException

start

public void start()
           throws MediaException

stop

public void stop()
          throws MediaException

deallocate

public void deallocate()

close

public void close()

setTimeBase

public void setTimeBase(TimeBase timebase)
                 throws MediaException

getTimeBase

public TimeBase getTimeBase()

setMediaTime

public long setMediaTime(long l)
                  throws MediaException

getMediaTime

public long getMediaTime()

getState

public int getState()

getDuration

public long getDuration()

getContentType

public java.lang.String getContentType()

setLoopCount

public void setLoopCount(int i)

addPlayerListener

public void addPlayerListener(PlayerListener playerlistener)

removePlayerListener

public void removePlayerListener(PlayerListener playerlistener)