Property |
Property |
Setter Methods |
audioSpectrumInterval |
This is a double type property. It indicates the interval between the spectrum updates in seconds. |
setAudioSpectrumInterval (double value) |
audioSpectrumListener |
This is an object type property of the class AudioSpectrumListener. It indicates the audiospectrumlistener for an audio spectrum. |
setAudioSpectrumListener(AudioSpectrumListener listener) |
audioSpectrumNumBands |
This is an integer type property. It indicates the number of bands between the audio spectrum. |
setAudioSpectrumNumBands(int value) |
audioSpectrumThreshold |
This is an integer type property. It indicates the sensitivity threshold |
setAudioSpectrumThreshold(int value) |
autoPlay |
This is the boolean type property. The true value indicates the playing will be started as soon as possible. |
setAutoPlay(Boolean value) |
balance |
This is a double type property. It indicates the balance of the audio output. |
setBalance(double value) |
bufferProgressTime |
This is an object type property of the class Duration. It indicates the duration of the media which can be played without stalling the media-player. |
Can not be set as it is read only property. |
currentCount |
This is read only integer type property. It indicates the number of completed playback cycles. |
Can not be set as it is read only property. |
currentRate |
This is a double type property. It indicates the current rate of the playback. It is read only property. |
Can not be set as it is read only property. |
currentTime |
This is an object type property of the class Duration. It indicates the current media playback time. |
Can not be set as it is read only property. |
cycleCount |
It is the integer type property. It indicates the number of times, the media will be played. |
setCycleCount(int value) |
cycleDuration |
It is the ready only property. It is of the type object of the class Duration. It indicates the amount of time between the start time and stop time of the media. |
Can not be set as it is read only property. |
error |
It is a read only property. It is an object type property of the class MediaException. It is set to a Media-Exception if an error occurs. |
Can not be set as it is read only property. |
mute |
It is a boolean type property. It indicates whether the audio is muted or not. |
SetMute(boolean value) |
onEndOfMedia |
It is an object type property of the interface Runnable. It is set to an Event Handler which will be invoked when the end of the media file is reached. |
setOnEndOfMedia(java.lang.Runnable value) |
onError |
It is an object type property of the interface Runnable. It indicates the Event Handler which will be invoked when the status changes to halted. |
setOnHalted(java.lang.Runnable value) |
onMarker |
It is an object type property of the class MediaMarkerEvent. It indicates the EventHandler which will be invoked when the current time reaches the media marker. |
setOnMarker(EventHandler onMarker ) |
onPaused |
It is an object type property of the interface Runnable. It indicates the EventHandler which will be invoked when the status changed to paused. |
setOnPaused(java.lang.Runnable value) |
onPlaying |
It is an object type property of the interface Runnable. It indicates the EventHandler which will be invoked when the status changed to playing. |
setOnPlaying(java.lang.Runnable value) |
onReady |
It is an object type property of the interface Runnable. It indicates the EventHandler which will be invoked when the status changed to Ready. |
setOnReady(java.lang.Runnable value) |
onRepeat |
It is an object type property of the class MediaMarkerEvent. It indicates the EventHandler which will be invoked when the current time reaches the stop time and will be repeating. |
setOnRepeat(java.lang.Runnable value) |
onStalled |
It is an object type property of the interface Runnable. It indicates the Event Handler which will be invoked when the status changed to Stalled. |
setOnStalled(java.lang.Runnable value) |
onStopped |
It is an object type property of the interface Runnable. It indicates the EventHandler which will be invoked when the status changed to Stopped. |
setOnStopped(java.lang.Runnable value) |
rate |
It is the double type property. It indicates the rate at which the media should be played. |
setRate(double value) |
startTime |
This property is of the type object of the class Duration. It indicates the time where media should start playing. |
setStartTime(Duration value) |
status |
This is the read only property. It indicates the current state of the Media player. |
Can not be set as it is read only property. |
stopTime |
This property is an object type of the class Duration. It indicates the time offset where the media should stop playing. |
setStopTime(double value) |
totalDuration |
It is an object type property of the class Duration. It indicates the total time during which the media should be played. |
Can not be set as it is read only property. |
volume |
It is a double type property. It indicates the volume at which the media should be playing. |
setVolume(double value) |