TimeShift

data class TimeShift(position: Double, target: Double) : PlayerEvent

Emitted when the player starts time shifting. Only applies to live streams. Refer to Seek for VoD streams.

Constructors

TimeShift
Link copied to clipboard
fun TimeShift(position: Double, target: Double)

Properties

position
Link copied to clipboard
val position: Double
The position from which we start the time shift (currentTime before the time shift)
target
Link copied to clipboard
val target: Double
The position to which we want to jump for the time shift (currentTime after time shift has completed)

Inherited properties

timestamp
Link copied to clipboard
var timestamp: Long
The time at which the event was emitted.