Package org.videolan.libvlc.stubs
Class StubMediaList
- java.lang.Object
-
- org.videolan.libvlc.stubs.StubVLCObject<IMediaList.Event>
-
- org.videolan.libvlc.stubs.StubMediaList
-
- All Implemented Interfaces:
IMediaList,IVLCObject<IMediaList.Event>
public class StubMediaList extends StubVLCObject<IMediaList.Event> implements IMediaList
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.videolan.libvlc.interfaces.IMediaList
IMediaList.Event, IMediaList.EventListener
-
-
Constructor Summary
Constructors Constructor Description StubMediaList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()Get the number of Media.IMediagetMediaAt(int index)Get a Media at specified index.booleanisLocked()voidsetEventListener(IMediaList.EventListener listener, Handler handler)-
Methods inherited from class org.videolan.libvlc.stubs.StubVLCObject
getLibVLC, isReleased, release, retain
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.videolan.libvlc.interfaces.IVLCObject
getLibVLC, isReleased, release, retain
-
-
-
-
Method Detail
-
setEventListener
public void setEventListener(IMediaList.EventListener listener, Handler handler)
- Specified by:
setEventListenerin interfaceIMediaList
-
getCount
public int getCount()
Description copied from interface:IMediaListGet the number of Media.- Specified by:
getCountin interfaceIMediaList
-
getMediaAt
public IMedia getMediaAt(int index)
Description copied from interface:IMediaListGet a Media at specified index.- Specified by:
getMediaAtin interfaceIMediaList- Parameters:
index- index of the media- Returns:
- Media hold by MediaList. This Media should be released with
IVLCObject.release().
-
isLocked
public boolean isLocked()
- Specified by:
isLockedin interfaceIMediaList
-
-