See Also: WindowContentFrameStats
public sealed class WindowContentFrameStats : FrameStats, IParcelable, IDisposable
This class contains window content frame statistics. For example, a window content is rendred in frames when a view is scrolled. The frame statistics are a snapshot for the time interval from FrameStats.StartTimeNano to FrameStats.EndTimeNano.
The key idea is that in order to provide a smooth user experience an application has to draw a frame at a specific time interval obtained by calling FrameStats.RefreshPeriodNano. If the application does not render a frame every refresh period the user will see irregular UI transitions.
An application posts a frame for presentation by synchronously rendering its contents in a buffer which is then posted or posting a buffer to which the application is asychronously rendering the content via GL. After the frame is posted and rendered (potentially asynchronosly) it is presented to the user. The time a frame was posted can be obtained via WindowContentFrameStats.GetFramePostedTimeNano(Int32), the time a frame content was rendered and ready for dsiplay (GL case) via WindowContentFrameStats.GetFrameReadyTimeNano(Int32), and the time a frame was presented on the screen via FrameStats.GetFramePresentedTimeNano(Int32).
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
The members of Android.Views.WindowContentFrameStats are listed below.
See Also: FrameStats
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Get the time a frame at a given index was posted by the producer (e.g. the application).
Get the time a frame at a given index was ready for presentation.
Flatten this object in to a Parcel.