Added in API level 33

Choreographer.FrameTimeline


public static class Choreographer.FrameTimeline
extends Object

java.lang.Object
   ↳ android.view.Choreographer.FrameTimeline


Holds data that describes one possible VSync frame event to render at.

Summary

Public methods

long getDeadlineNanos()

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

long getExpectedPresentationTimeNanos()

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

long getVsyncId()

The id that corresponds to this frame timeline, used to correlate a frame produced by HWUI with the timeline data stored in Surface Flinger.

Inherited methods

Public methods

getDeadlineNanos

Added in API level 33
public long getDeadlineNanos ()

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

Returns
long

getExpectedPresentationTimeNanos

Added in API level 33
public long getExpectedPresentationTimeNanos ()

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

Returns
long

getVsyncId

Added in API level 33
public long getVsyncId ()

The id that corresponds to this frame timeline, used to correlate a frame produced by HWUI with the timeline data stored in Surface Flinger.

Returns
long