Media Playback Rate Change Event
class MediaPlaybackRateChangeEvent @JvmOverloads constructor(var newRate: Double, var previousRate: Double? = null) : AbstractSelfDescribing, MediaPlayerUpdatingEvent
Media player event sent when the playback rate has changed.
Parameters
new Rate
Playback rate after the change (1 is normal).
previous Rate
Playback rate before the change (1 is normal). If not set, the previous rate is taken from the last setting in media player.
Functions
Link copied to clipboard
Adds a list of context entities to the existing ones.
Link copied to clipboard
Adds a list of context entities to the existing ones.
Link copied to clipboard
Set the custom timestamp of the event.
Link copied to clipboard
Updates event properties based on the player entity but also updates the player properties based on the event.