public void Run() { Logger.Trace("run()"); for (int i = mediaListPlayer.eventListenerList.Count - 1; i >= 0; i--) { MediaListPlayerEventListener listener = mediaListPlayer.eventListenerList[i]; try { mediaListPlayerEvent.Notify(listener); } catch (Exception t) { Logger.Warn("Event listener {} threw an exception", t, listener); // Continue with the next listener... } } Logger.Trace("runnable exits"); }
public override void Notify(MediaListPlayerEventListener listener) { listener.MediaFreed(mediaListPlayer); }
public override void Notify(MediaListPlayerEventListener listener) { listener.MediaMetaChanged(mediaListPlayer, metaType); }
public override void Notify(MediaListPlayerEventListener listener) { listener.MediaSubItemAdded(mediaListPlayer, subItem); }
public override void Notify(MediaListPlayerEventListener listener) { listener.MediaFreed(mediaListPlayer); }
public override void Notify(MediaListPlayerEventListener listener) { listener.MediaMetaChanged(mediaListPlayer, metaType); }
public void RemoveMediaListPlayerEventListener(MediaListPlayerEventListener listener) { Logger.Debug("RemoveMediaPlayerEventListener(listener={})", listener); eventListenerList.Remove(listener); }
public void AddMediaListPlayerEventListener(MediaListPlayerEventListener listener) { Logger.Debug("AddMediaPlayerEventListener(listener={})", listener); eventListenerList.Add(listener); }
public override void Notify(MediaListPlayerEventListener listener) { listener.MediaParsedChanged(mediaListPlayer, newStatus); }
public override void Notify(MediaListPlayerEventListener listener) { listener.MediaDurationChanged(mediaListPlayer, newDuration); }
public override void Notify(MediaListPlayerEventListener listener) { listener.NextItem(mediaListPlayer, item, mrl); }
public override void Notify(MediaListPlayerEventListener listener) { listener.MediaStateChanged(mediaListPlayer, newState); }
public abstract void Notify(MediaListPlayerEventListener listener);
public override void Notify(MediaListPlayerEventListener listener) { listener.NextItem(mediaListPlayer, item, mrl); }
public override void Notify(MediaListPlayerEventListener listener) { listener.MediaSubItemAdded(mediaListPlayer, subItem); }
public override void Notify(MediaListPlayerEventListener listener) { listener.MediaDurationChanged(mediaListPlayer, newDuration); }
public abstract void Notify(MediaListPlayerEventListener listener);
public void RemoveMediaListPlayerEventListener(MediaListPlayerEventListener listener) { Logger.Debug("RemoveMediaPlayerEventListener(listener={})", listener); eventListenerList.Remove(listener); }
public void AddMediaListPlayerEventListener(MediaListPlayerEventListener listener) { Logger.Debug("AddMediaPlayerEventListener(listener={})", listener); eventListenerList.Add(listener); }