|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.hci.r3.actions.types.PlaySoundAction
public class PlaySoundAction
Play a sound file. It must be available on the local file system, wherever this action ends up.
This software is distributed under the BSD License.
| Nested Class Summary | |
|---|---|
static interface |
PlaySoundAction.PlaySoundListener
|
| Constructor Summary | |
|---|---|
PlaySoundAction(java.io.File soundFile)
|
|
| Method Summary | |
|---|---|
void |
addStopListener(PlaySoundAction.PlaySoundListener psl)
|
void |
invoke()
Invoke this action on the local machine. |
void |
pause()
|
void |
stop()
Stops the audio player and disposes resources. |
void |
unpause()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.stanford.hci.r3.actions.R3Action |
|---|
toString |
| Constructor Detail |
|---|
public PlaySoundAction(java.io.File soundFile)
soundFile - | Method Detail |
|---|
public void addStopListener(PlaySoundAction.PlaySoundListener psl)
public void invoke()
R3Action
invoke in interface R3ActionR3Action.invoke()public void pause()
public void stop()
public void unpause()
|
Copyright 2006 Stanford University | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||