[Android] LibVLC: add getMediaList()

Edward Wang git at videolan.org
Wed Aug 28 22:15:50 CEST 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Wed Aug 28 22:13:27 2013 +0200| [00e011af3dfc9d33bc6751fd23d0831c8455ed9a] | committer: Edward Wang

LibVLC: add getMediaList()

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=00e011af3dfc9d33bc6751fd23d0831c8455ed9a
---

 vlc-android/src/org/videolan/libvlc/LibVLC.java |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/vlc-android/src/org/videolan/libvlc/LibVLC.java b/vlc-android/src/org/videolan/libvlc/LibVLC.java
index 972a2db..25aa12e 100644
--- a/vlc-android/src/org/videolan/libvlc/LibVLC.java
+++ b/vlc-android/src/org/videolan/libvlc/LibVLC.java
@@ -148,6 +148,15 @@ public class LibVLC {
     }
 
     /**
+     * Get the media list that LibVLC is following right now.
+     *
+     * @return The media list object being followed
+     */
+    public MediaList getMediaList() {
+        return mMediaList;
+    }
+
+    /**
      * Set the media list for LibVLC to follow.
      *
      * @param mediaList The media list object to follow



More information about the Android mailing list