Added in API level 33

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 System#nanoTime() timebase which this frame needs to be ready by.

open Long

The time in System#nanoTime() timebase which this frame is expected to be presented.

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

Added in API level 33
open fun getDeadlineNanos(): Long

The time in System#nanoTime() timebase which this frame needs to be ready by.

getExpectedPresentationTimeNanos

Added in API level 33
open fun getExpectedPresentationTimeNanos(): Long

The time in System#nanoTime() timebase which this frame is expected to be presented.

getVsyncId

Added in API level 33
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.