-
- All Implemented Interfaces:
-
org.videolan.libvlc.interfaces.IMediaList
,org.videolan.libvlc.interfaces.IVLCObject
,org.videolan.libvlc.interfaces.IVLCObject
public class MediaList extends VLCObject<IMediaList.Event> implements IMediaList
-
-
Method Summary
Modifier and Type Method Description void
setEventListener(IMediaList.EventListener listener, Handler handler)
synchronized int
getCount()
Get the number of Media. synchronized IMedia
getMediaAt(int index)
Get a Media at specified index. void
onReleaseNative()
Called when native object is released (refcount is 0).This is where you must release native resources. synchronized boolean
isLocked()
-
-
Constructor Detail
-
MediaList
MediaList(ILibVLC ILibVLC)
Create a MediaList from libVLC- Parameters:
ILibVLC
- a valid libVLC
-
-
Method Detail
-
setEventListener
void setEventListener(IMediaList.EventListener listener, Handler handler)
-
getCount
synchronized int getCount()
Get the number of Media.
-
getMediaAt
synchronized IMedia getMediaAt(int index)
Get a Media at specified index.
- Parameters:
index
- index of the media
-
onReleaseNative
void onReleaseNative()
Called when native object is released (refcount is 0).This is where you must release native resources.
-
isLocked
synchronized boolean isLocked()
-
-
-
-