Share via


SurfaceControl.OnJankDataListenerRegistration.Flush Method

Definition

Request a flush of any pending jank classification data.

[Android.Runtime.Register("flush", "()V", "GetFlushHandler", ApiSince=36)]
public virtual void Flush();
[<Android.Runtime.Register("flush", "()V", "GetFlushHandler", ApiSince=36)>]
abstract member Flush : unit -> unit
override this.Flush : unit -> unit
Attributes

Remarks

Request a flush of any pending jank classification data.

May cause the registered listener to be invoked inband. Since jank is tracked by the system compositor by surface, flushing the data on one listener, will also cause other listeners on the same surface to receive jank classification data.

Java documentation for android.view.SurfaceControl.OnJankDataListenerRegistration.flush().

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