com.evolution.player.core.media
Class ILibrary.LibraryListener

java.lang.Object
  extended by com.evolution.player.core.media.ILibrary.LibraryListener
Enclosing interface:
ILibrary

public abstract static class ILibrary.LibraryListener
extends java.lang.Object

A library listener can listen to changed to the library.


Constructor Summary
ILibrary.LibraryListener()
           
 
Method Summary
abstract  void fileDownloaded(LocalMediaInfo media)
          The given media has been downloaded.
abstract  void mediaAdded(MediaInfo media)
          The given media was added to the library.
abstract  void mediaRemoved(MediaInfo media)
          The given media was removed from the library.
abstract  void rootAdded(java.io.File file)
          The given file was added as a root.
abstract  void rootRemoved(java.io.File file)
          The given file was removed from the roots.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ILibrary.LibraryListener

public ILibrary.LibraryListener()
Method Detail

mediaAdded

public abstract void mediaAdded(MediaInfo media)
The given media was added to the library.

Parameters:
media - the added media

mediaRemoved

public abstract void mediaRemoved(MediaInfo media)
The given media was removed from the library.

Parameters:
media - the removed media

rootAdded

public abstract void rootAdded(java.io.File file)
The given file was added as a root.

Parameters:
file - the added root

rootRemoved

public abstract void rootRemoved(java.io.File file)
The given file was removed from the roots.

Parameters:
file - the removed root

fileDownloaded

public abstract void fileDownloaded(LocalMediaInfo media)
The given media has been downloaded.

Parameters:
media - the downloaded media