java.lang.Object
uk.co.caprica.vlcj.player.list.ListApi
-
Method Summary
Modifier and TypeMethodDescriptionevents()
Delegated behaviour pertaining to the associated media list events.boolean
isValid()
Is the media list valid?media()
Delegated behaviour pertaining to the associated media list items.Create a newMediaList
for the associated media list.Create a newMediaListRef
for the associated media list.void
setMediaList
(MediaListRef mediaListRef) Set a new media list.
-
Method Details
-
setMediaList
Set a new media list.The supplied
MediaListRef
is not kept by this component and must be released by the caller when the caller no longer has any use for it.- Parameters:
mediaListRef
- media list
-
isValid
public boolean isValid()Is the media list valid?This method could be used to check there is a list before using the various behaviours.
- Returns:
true
if there is a valid list;false
if there is not
-
events
Delegated behaviour pertaining to the associated media list events.- Returns:
- events behaviour, may be
null
if there is currently no media list
-
media
Delegated behaviour pertaining to the associated media list items.- Returns:
- item behaviour, may be
null
if there is currently no media list
-
newMediaList
-
newMediaListRef
Create a newMediaListRef
for the associated media list.The caller must release the returned
MediaListRef
when it has no further use for it.- Returns:
- media list reference
-