com.evolution.player.core.media
Interface IWritableScoreBoard

All Superinterfaces:
IScoreBoard

public interface IWritableScoreBoard
extends IScoreBoard

A writable score board is a score board which can be modified.

Clients must not implement.

Since:
0.6
See Also:
EvolutionPlayerCore.getScoreBoard()

Nested Class Summary
static interface IWritableScoreBoard.IScoreListener
          A score listener is notified about score changes in a IWritableScoreBoard.
 
Nested classes/interfaces inherited from interface com.evolution.player.core.media.IScoreBoard
IScoreBoard.Score
 
Method Summary
 void addScoreListener(IWritableScoreBoard.IScoreListener listener)
          Add the given listener to this score board.
 void remove(MediaId id)
          Remove the score for the media with the given id.
 void removeScoreListener(IWritableScoreBoard.IScoreListener listener)
          Remove the given listener from this score board.
 void score(MediaId id, IScoreBoard.Score score)
          Score the media with the given id.
 
Methods inherited from interface com.evolution.player.core.media.IScoreBoard
getMedias, getScore
 

Method Detail

score

void score(MediaId id,
           IScoreBoard.Score score)
Score the media with the given id.

Parameters:
id - the id of the media to score
score - the score

remove

void remove(MediaId id)
Remove the score for the media with the given id.

Parameters:
id - the id of the media to remove the score for

addScoreListener

void addScoreListener(IWritableScoreBoard.IScoreListener listener)
Add the given listener to this score board.

Parameters:
listener - the listener to add

removeScoreListener

void removeScoreListener(IWritableScoreBoard.IScoreListener listener)
Remove the given listener from this score board.

Parameters:
listener - the listener to remove