|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.vwp.net.PlayThread
public abstract class PlayThread
This class is some kin dof placeholder for an class that handles custom data when setInputStream() is called handing over a valid InputStream. This class is required from DownloadCacheManager when a CUSTOMDATA is downloaded in background. Here the DownloadCacheManager requires an object that has inherited from PlayThread and implements the related replay/display/... functionality that belongs to these custom data. When these data are downloaded fully, the DownloadChacheManager calls setInputStream() to start using the data.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
PlayThread()
|
|
| Method Summary | |
|---|---|
abstract void |
close()
Stop replaying of sound data and close all open ressources, clean up completely. |
abstract void |
setInputStream(java.io.InputStream extin)
Set an input stream of a downloaded soundfile to let it replay by an audio player that inherits from this class |
abstract void |
setVolume(float volume)
Sets the volume of a audio stream |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PlayThread()
| Method Detail |
|---|
public abstract void setInputStream(java.io.InputStream extin)
extin - the InputStream of the downloaded soundfilepublic abstract void close()
public abstract void setVolume(float volume)
volume - the volume in percent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||