public interface ISimpleMediaPlayer extends IItem
INestable.IChildrenChangedListener
Modifier and Type | Method and Description |
---|---|
void |
addMediaPlayerEventListener(uk.co.caprica.vlcj.player.MediaPlayerEventAdapter mediaPlayerEventAdapter)
Adds the media player event listener.
|
void |
destroy()
Destroy.
|
float |
getHeight()
Gets the height.
|
float |
getPosition()
Gets the position.
|
boolean |
getRepeat()
Gets the repeat.
|
float |
getWidth()
Gets the width.
|
boolean |
isPlaying()
Checks if is playing.
|
void |
pause()
Pause.
|
void |
play()
Play.
|
void |
setActionOnVideoEndListener(IActionOnVideoEndListener actionOnVideoEndListener)
Sets the action on video end listener.
|
void |
setLocalResource(java.io.File file,
boolean autostart)
Sets the local resource.
|
void |
setLocalResource(java.lang.String localPath,
boolean autostart)
Sets the local resource.
|
void |
setPosition(float pos)
Sets the position.
|
void |
setRemoteResource(java.lang.String remotePath,
boolean autostart)
Sets the remote resource.
|
void |
setRepeat(boolean repeat)
Sets the repeat.
|
void |
setSize(float width,
float height)
Sets the size.
|
void |
unpause()
Unpause.
|
addItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, getBehaviours, getBehaviours, getItemListeners, getManipulableSpatial, getMultiTouchDispatcher, getName, getParentItem, getRelativeLocation, getRelativeLocationOfWorldLocation, getRelativeRotation, getRelativeScale, getUUID, getWorldLocation, getWorldLocation, getWorldRotationDegrees, getZOrder, getZOrderManager, isVisible, removeItemListener, setInteractionEnabled, setItemListeners, setParentItem, setRelativeLocation, setRelativeRotation, setRelativeScale, setVisible, setWorldLocation, setZOrder
addItem, deRegisterChildrenChangedListener, getChildItems, getChildrenCount, hasChildren, registerChildrenChangedListener, removeAllItems, removeItem
void addMediaPlayerEventListener(uk.co.caprica.vlcj.player.MediaPlayerEventAdapter mediaPlayerEventAdapter)
mediaPlayerEventAdapter
- the media player event adaptervoid destroy()
float getHeight()
float getPosition()
boolean getRepeat()
float getWidth()
boolean isPlaying()
void pause()
void play()
void setActionOnVideoEndListener(IActionOnVideoEndListener actionOnVideoEndListener)
actionOnVideoEndListener
- the new action on video end listenervoid setLocalResource(java.io.File file, boolean autostart)
file
- the fileautostart
- the autostartvoid setLocalResource(java.lang.String localPath, boolean autostart)
localPath
- the local pathautostart
- the autostartvoid setPosition(float pos)
pos
- the new positionvoid setRemoteResource(java.lang.String remotePath, boolean autostart)
remotePath
- the remote pathautostart
- the autostartvoid setRepeat(boolean repeat)
repeat
- the new repeatvoid setSize(float width, float height)
width
- the widthheight
- the heightvoid unpause()