PlaySoundAction Class Reference

Inheritance diagram for PlaySoundAction:

R3Action List of all members.

Public Member Functions

void addStopListener (PlaySoundListener psl)
 PlaySoundAction (File soundFile)
void invoke ()
void pause ()
void stop ()
 Stops the audio player and disposes resources.
void unpause ()

Static Package Functions

 [static initializer]

Classes

interface  PlaySoundListener

Detailed Description

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.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 26 of file PlaySoundAction.java.


Constructor & Destructor Documentation

PlaySoundAction ( File  soundFile  ) 

Parameters:
soundFile 

Definition at line 55 of file PlaySoundAction.java.


Member Function Documentation

void invoke (  ) 

See also:
edu.stanford.hci.r3.actions.R3Action.invoke()

Implements R3Action.

Definition at line 62 of file PlaySoundAction.java.

References PlaySoundAction.stop().

Referenced by Device.doPlaySound().


The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:40 2007 for R3 Paper Toolkit by  doxygen 1.4.7