X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bindings%2Fjava%2Fcore%2Fsrc%2Fmain%2Fjava%2Forg%2Fvideolan%2Fjvlc%2FMediaListPlayer.java;h=091e0f11df38753a34d0c732ae159826d6efe6ec;hb=38f79bff37d907dd2765f8e94f2162bcea2cf7e7;hp=e9a720eb9213cbd93529e36e660cbea8b858a026;hpb=699dd7887738f8e1373a4cf3d8c03f010c70a29b;p=vlc diff --git a/bindings/java/core/src/main/java/org/videolan/jvlc/MediaListPlayer.java b/bindings/java/core/src/main/java/org/videolan/jvlc/MediaListPlayer.java index e9a720eb92..091e0f11df 100644 --- a/bindings/java/core/src/main/java/org/videolan/jvlc/MediaListPlayer.java +++ b/bindings/java/core/src/main/java/org/videolan/jvlc/MediaListPlayer.java @@ -55,6 +55,10 @@ public class MediaListPlayer return jvlc.getLibvlc().libvlc_media_list_player_is_playing(instance, exception) == 1; } + + /** + * + */ public void play() { libvlc_exception_t exception = new libvlc_exception_t(); @@ -83,6 +87,12 @@ public class MediaListPlayer libvlc_exception_t exception = new libvlc_exception_t(); jvlc.getLibvlc().libvlc_media_list_player_pause(instance, exception); } + + public void next() + { + libvlc_exception_t exception = new libvlc_exception_t(); + jvlc.getLibvlc().libvlc_media_list_player_next(instance, exception); + } /** * Plays the given descriptor and returns only when the player has started to play.