public class RateChangeEvent extends PlayerEvent<RateChangeEvent>
PlayerEventTypes.RATECHANGE
occurs for the Player
.- The effective playback rate changes, which is the speed at which the media resource plays, as a multiple of its intrinsic speed.
Modifier and Type | Method and Description |
---|---|
double |
getCurrentTime()
The time at which the playback rate of the player changed.
|
double |
getPlaybackRate()
The new rate of playback of the player.
|
public double getCurrentTime()
public double getPlaybackRate()
- A rate between 0.5 and 4 is recommended for a pleasant experience.