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

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

public class SampleAudio
extends Object
implements Audio

DO NOT USE - these tracks seem to crash the TiVo internap mp3 player!

Version:
$Revision: 1.1 $

Constructor Summary
SampleAudio()
           
 
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

SampleAudio

public SampleAudio()
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