WindowContentFrameStats.GetFramePostedTimeNano(Int32) Method

Definition

Get the time a frame at a given index was posted by the producer (e.

[Android.Runtime.Register("getFramePostedTimeNano", "(I)J", "")]
public long GetFramePostedTimeNano (int index);
[<Android.Runtime.Register("getFramePostedTimeNano", "(I)J", "")>]
member this.GetFramePostedTimeNano : int -> int64

Parameters

index
Int32

The frame index.

Returns

The posted time in nanoseconds.

Attributes

Remarks

Get the time a frame at a given index was posted by the producer (e.g. the application). It is either explicitly set or defaulted to the time when the render buffer was posted.

<strong>Note:</strong> A frame can be posted and still it contents being rendered asynchronously in GL. To get the time the frame content was completely rendered and ready to display call #getFrameReadyTimeNano(int).

Java documentation for android.view.WindowContentFrameStats.getFramePostedTimeNano(int).

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.

Applies to