WindowContentFrameStats.GetFrameReadyTimeNano(Int32) Method

Definition

Get the time a frame at a given index was ready for presentation.

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

Parameters

index
Int32

The frame index.

Returns

The ready time in nanoseconds or #UNDEFINED_TIME_NANO if the frame is not ready yet.

Attributes

Remarks

Get the time a frame at a given index was ready for presentation.

<strong>Note:</strong> A frame can be posted and still it contents being rendered asynchronously in GL. In such a case this is the time when the frame contents were completely rendered.

Java documentation for android.view.WindowContentFrameStats.getFrameReadyTimeNano(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