FrameTimeline
class FrameTimeline
kotlin.Any | |
↳ | android.view.Choreographer.FrameTimeline |
Holds data that describes one possible VSync frame event to render at.
Summary
Public methods | |
---|---|
open Long |
The time in |
open Long |
The time in |
open Long |
The id that corresponds to this frame timeline, used to correlate a frame produced by HWUI with the timeline data stored in Surface Flinger. |
Public methods
getDeadlineNanos
open fun getDeadlineNanos(): Long
The time in System.nanoTime()
timebase which this frame needs to be ready by.
getExpectedPresentationTimeNanos
open fun getExpectedPresentationTimeNanos(): Long
The time in System.nanoTime()
timebase which this frame is expected to be presented.
getVsyncId
open fun getVsyncId(): Long
The id that corresponds to this frame timeline, used to correlate a frame produced by HWUI with the timeline data stored in Surface Flinger.