public class ClipPlayerHelper extends HelperBase
HelperBase.DATA_TYPE
_actor, _currentObj
Constructor and Description |
---|
ClipPlayerHelper(java.lang.Object actor,
jdk.nashorn.api.scripting.ScriptObjectMirror helping)
Construct a new ClipPlayerHelper.
|
Modifier and Type | Method and Description |
---|---|
void |
play()
Play the sound clip.
|
void |
setURL(java.lang.String url)
Set the URL of the clip to load and construct a new MediaPlayer to it.
|
void |
stop()
Stop playback, if playing.
|
_appendNumericToBuffer, _appendToBuffer, _error, _error, _error, _error, _extractFromBuffer, _issueResponse, _removeDuplicates, _sizeOfType, _toJavaBytes, _toJSArray, getHelping