FrameStats.GetFramePresentedTimeNano(Int32) Method

Definition

Get the time a frame at a given index was presented.

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

Parameters

index
Int32

The frame index.

Returns

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

Attributes

Remarks

Get the time a frame at a given index was presented.

Java documentation for android.view.FrameStats.getFramePresentedTimeNano(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