Player Module
/
com.bitmovin.player.api.event
/
SourceEvent
/
DurationChanged
Duration
Changed
data class
DurationChanged
(from:
Double
, to:
Double
) :
SourceEvent
Content copied to clipboard
Emitted when the source duration has changed. Not emitted for the initial duration.
Constructors
Properties
Inherited properties
Constructors
DurationChanged
Link copied to clipboard
fun
DurationChanged
(from:
Double
, to:
Double
)
Content copied to clipboard
Properties
from
Link copied to clipboard
val
from
:
Double
Content copied to clipboard
The duration before the change happened (in seconds).
to
Link copied to clipboard
val
to
:
Double
Content copied to clipboard
The duration after the change happened (in seconds).
Inherited properties
timestamp
Link copied to clipboard
var
timestamp
:
Long
Content copied to clipboard
The time at which the event was emitted.