PlaybackSpeedChanged

data class PlaybackSpeedChanged(val from: Float, val to: Float) : PlayerEvent

Emitted when Player.playbackSpeed changes during an active playback session.

This can be caused by setting Player.playbackSpeed or by the playback engine correcting a requested speed that cannot be applied.

Constructors

Link copied to clipboard
constructor(from: Float, to: Float)

Properties

Link copied to clipboard
val from: Float

The playback speed before the change.

Link copied to clipboard

The time at which the event was emitted in milliseconds since the Unix Epoch.

Link copied to clipboard
val to: Float

The playback speed after the change.