Display.AppVsyncOffsetNanos Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the app VSYNC offset, in nanoseconds.
public virtual long AppVsyncOffsetNanos { [Android.Runtime.Register("getAppVsyncOffsetNanos", "()J", "GetGetAppVsyncOffsetNanosHandler")] get; }
[<get: Android.Runtime.Register("getAppVsyncOffsetNanos", "()J", "GetGetAppVsyncOffsetNanosHandler")>]
member this.AppVsyncOffsetNanos : int64
Property Value
- Attributes
Remarks
Gets the app VSYNC offset, in nanoseconds. This is a positive value indicating the phase offset of the VSYNC events provided by Choreographer relative to the display refresh. For example, if Choreographer reports that the refresh occurred at time N, it actually occurred at (N - appVsyncOffset).
Apps generally do not need to be aware of this. It's only useful for fine-grained A/V synchronization.
Java documentation for android.view.Display.getAppVsyncOffsetNanos()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.