UiAutomation.WindowAnimationFrameStats Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the window animation frame statistics.
public Android.Views.WindowAnimationFrameStats? WindowAnimationFrameStats { [Android.Runtime.Register("getWindowAnimationFrameStats", "()Landroid/view/WindowAnimationFrameStats;", "")] get; }
[<get: Android.Runtime.Register("getWindowAnimationFrameStats", "()Landroid/view/WindowAnimationFrameStats;", "")>]
member this.WindowAnimationFrameStats : Android.Views.WindowAnimationFrameStats
Property Value
The window animation frame statistics.
- Attributes
Remarks
Gets the window animation frame statistics. These statistics contain information about the most recently rendered window animation frames, i.e. for window transition animations.
A typical usage requires clearing the window animation frame statistics via #clearWindowAnimationFrameStats()
followed by an interaction that causes a window transition which uses a window animation and finally getting the window animation frame statistics by calling this method.
// Start with a clean slate.
uiAutimation.clearWindowAnimationFrameStats();
// Do stuff to trigger a window transition.
// Get the frame statistics.
WindowAnimationFrameStats stats = uiAutomation.getWindowAnimationFrameStats();
This member is deprecated. animation-frames are no-longer used.
Java documentation for android.app.UiAutomation.getWindowAnimationFrameStats()
.
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.