javax.microedition.media
Interface Player

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 arg1)
           
 void close()
           
 void deallocate()
           
 String getContentType()
           
 long getDuration()
           
 long getMediaTime()
           
 int getState()
           
 TimeBase getTimeBase()
           
 void prefetch()
           
 void realize()
           
 void removePlayerListener(PlayerListener arg1)
           
 void setLoopCount(int arg1)
           
 long setMediaTime(long arg1)
           
 void setTimeBase(TimeBase arg1)
           
 void start()
           
 void stop()
           
 
Methods inherited from interface javax.microedition.media.Controllable
getControl, getControls
 

Field Detail

UNREALIZED

static final int UNREALIZED
See Also:
Constant Field Values

REALIZED

static final int REALIZED
See Also:
Constant Field Values

PREFETCHED

static final int PREFETCHED
See Also:
Constant Field Values

STARTED

static final int STARTED
See Also:
Constant Field Values

CLOSED

static final int CLOSED
See Also:
Constant Field Values

TIME_UNKNOWN

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

realize

void realize()
             throws MediaException
Throws:
MediaException

prefetch

void prefetch()
              throws MediaException
Throws:
MediaException

start

void start()
           throws MediaException
Throws:
MediaException

stop

void stop()
          throws MediaException
Throws:
MediaException

deallocate

void deallocate()

close

void close()

setTimeBase

void setTimeBase(TimeBase arg1)
                 throws MediaException
Throws:
MediaException

getTimeBase

TimeBase getTimeBase()

setMediaTime

long setMediaTime(long arg1)
                  throws MediaException
Throws:
MediaException

getMediaTime

long getMediaTime()

getState

int getState()

getDuration

long getDuration()

getContentType

String getContentType()

setLoopCount

void setLoopCount(int arg1)

addPlayerListener

void addPlayerListener(PlayerListener arg1)

removePlayerListener

void removePlayerListener(PlayerListener arg1)


Copyright © 2006-2007 Jayway AB. All Rights Reserved.