com.blackledge.david.tivo.multitasker.plugins
Class NPRAudio

java.lang.Object
  extended by com.blackledge.david.tivo.multitasker.plugins.NPRAudio
All Implemented Interfaces:
Audio

public class NPRAudio
extends Object
implements Audio

NPR streaming - doesn't seem to work correctly.

Version:
$Revision: 1.1 $

Constructor Summary
NPRAudio()
           
 
Method Summary
 String getNextAudioStream()
          Provides the next Audio Stream to play.
 void init(MultiTaskerApplication app)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NPRAudio

public NPRAudio()
Method Detail

getNextAudioStream

public String getNextAudioStream()
Description copied from interface: Audio
Provides the next Audio Stream to play. Use a URL of the form app.getContext().getBaseURI().toString()+"local/"+myFilePath To play a file local to the current computer, where myFilePath is relative to the local file root defined in options.

Specified by:
getNextAudioStream in interface Audio
Returns:
a URL string that will provide an mp3 stream.

init

public void init(MultiTaskerApplication app)
Specified by:
init in interface Audio