swpchat.protocol
Interface AudioOutput


public interface AudioOutput


Method Summary
 boolean tryToPlay(java.lang.String channel, java.lang.String strFrom, java.lang.String strAudioKey)
          Tries to play an audio file with a certain key and a certain sender.
 

Method Detail

tryToPlay

public boolean tryToPlay(java.lang.String channel,
                         java.lang.String strFrom,
                         java.lang.String strAudioKey)
Tries to play an audio file with a certain key and a certain sender.
Parameters:
strFrom - String specifying the person who sent the request to play the file.
strAudioKey - String specifying the Property with which the file is searched.
Returns:
true if the file has been played, else false.