media_list_item_added itemAddedEvent = ((media_list_item_added)event.u.getTypedValue(media_list_item_added.class));
result = new MediaListItemAddedEvent(mediaList, itemAddedEvent.item, itemAddedEvent.index);
break;
case libvlc_MediaListWillDeleteItem:
media_list_will_delete_item deleteItemEvent = ((media_list_will_delete_item)event.u.getTypedValue(media_list_will_delete_item.class));
result = new MediaListWillDeleteItemEvent(mediaList, deleteItemEvent.item, deleteItemEvent.index);
break;
case libvlc_MediaListItemDeleted:
media_list_item_deleted itemDeletedEvent = ((media_list_item_deleted)event.u.getTypedValue(media_list_item_deleted.class));