Sdílet prostřednictvím


Window.AddOnFrameMetricsAvailableListener Method

Definition

Set an observer to collect frame stats for each frame rendered in this window.

[Android.Runtime.Register("addOnFrameMetricsAvailableListener", "(Landroid/view/Window$OnFrameMetricsAvailableListener;Landroid/os/Handler;)V", "", ApiSince=24)]
public void AddOnFrameMetricsAvailableListener (Android.Views.Window.IOnFrameMetricsAvailableListener listener, Android.OS.Handler? handler);
[<Android.Runtime.Register("addOnFrameMetricsAvailableListener", "(Landroid/view/Window$OnFrameMetricsAvailableListener;Landroid/os/Handler;)V", "", ApiSince=24)>]
member this.AddOnFrameMetricsAvailableListener : Android.Views.Window.IOnFrameMetricsAvailableListener * Android.OS.Handler -> unit

Parameters

handler
Handler
Attributes

Remarks

Java documentation for android.view.Window.addOnFrameMetricsAvailableListener(android.view.OnFrameMetricsAvailableListener, android.os.Handler).

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