The listener interface for receiving onPlayed events. The class that is
interested in processing a onPlayed event implements this interface, and the
object created with that class is registered with a component using the
component's addOnPlayedListener method. When the onPlayed event
occurs, that object's appropriate method is invoked.