FrameTimings.getRefreshInterval

long getRefreshInterval()

Gets the natural interval between presentation times for the display that this frame was displayed on. Frame presentation usually happens during the “vertical blanking interval”.

Returns

the refresh interval of the display, in microseconds,

or 0 if the refresh interval is not available. See [gdk.frame_timings.FrameTimings.getComplete].