Android Guides | Samples

Android.App.UiAutomation.GetWindowContentFrameStats Method

Gets the frame statistics for a given window.

Syntax

[Android.Runtime.Register("getWindowContentFrameStats", "(I)Landroid/view/WindowContentFrameStats;", "")]
public WindowContentFrameStats GetWindowContentFrameStats (Int32 windowId)

See Also

Parameters

windowId
The window id.

Remarks

Gets the frame statistics for a given window. These statistics contain information about the most recently rendered content frames.

A typical usage requires clearing the window frame statistics via UiAutomation.ClearWindowContentFrameStats(Int32) followed by an interaction with the UI and finally getting the window frame statistics via calling this method.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18