VsyncTick

data class VsyncTick(val baseTime: Long, val vsyncPeriod: Long, val frameScheduleTime: Long? = null, val timelines: List<FramePacer.HardwareTimeline> = emptyList())

VSYNC telemetry from the platform compositor.

Constructors

Link copied to clipboard
constructor(baseTime: Long, vsyncPeriod: Long, frameScheduleTime: Long? = null, timelines: List<FramePacer.HardwareTimeline> = emptyList())

Properties

Link copied to clipboard

The hardware VSYNC time, e.g. Choreographer's frameTimeNanos.

Link copied to clipboard

When the frame callback was entered, to drop timelines whose deadline passed; null is the setupFrame call time.

Link copied to clipboard

Candidate presentation timelines in chronological order, where the platform has them (Android 33+).

Link copied to clipboard

The hardware VSYNC period, e.g. 1e9 / Display.getRefreshRate().