java.lang.Object
uk.co.caprica.vlcj.media.discoverer.MediaDiscoverer
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Is media discovery running?Get the discovered media list.Get the discovered media list as aMediaListRef
.void
release()
Release the media discoverer and any associated native resources.boolean
start()
Start media discovery.void
stop()
Stop media discovery.
-
Method Details
-
start
public boolean start()Start media discovery.- Returns:
true
if successful;false
if error
-
stop
public void stop()Stop media discovery. -
isRunning
public boolean isRunning()Is media discovery running?- Returns:
true
if discovery is running;false
if it is not
-
newMediaList
-
newNediaListRef
Get the discovered media list as aMediaListRef
.The caller must release the returned
MediaList
when it has no further use for it.- Returns:
- media list
-
release
public void release()Release the media discoverer and any associated native resources.
-