Skip to content
Snippets Groups Projects
Commit dd179fe9 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

LibVLC: Media: add Event.getParsedStatus()

parent 0aca42ea
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,14 @@ public class Media extends VLCObject<Media.Event> {
public int getMetaId() {
return (int) arg1;
}
/**
* Get the ParsedStatus in case of {@link Event#ParsedChanged} event
* @return {@link Media.ParsedStatus}
*/
public int getParsedStatus() {
return (int) arg1;
}
}
public interface EventListener extends VLCEvent.Listener<Media.Event> {}
......@@ -125,6 +133,15 @@ public class Media extends VLCObject<Media.Event> {
public static final int DoInteract = 0x08;
}
/*
* see libvlc_media_parsed_status_t
*/
public static class ParsedStatus {
public static final int Skipped = 1;
public static final int Failed = 2;
public static final int Done = 3;
}
/**
* see libvlc_media_track_t
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment