FramePresented

data class FramePresented(val pts: Pts, val atNanos: Long, val latency: Duration, val exact: Boolean) : PlayerEvent

A frame was presented. Emitted per frame only when PlayerConfig.frameEvents is on.

latency is the presentation instant minus the schedule's target for that frame, zero when the schedule no longer remembers the target. exact carries the renderer's own claim: true means the platform reported the pixels reaching glass, false means the renderer's clock right after its blit, which is the closest that path can observe.

Constructors

Link copied to clipboard
constructor(pts: Pts, atNanos: Long, latency: Duration, exact: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val pts: Pts