Share via


ProfilingManager.UnregisterForAllProfilingResults(IConsumer) Method

Definition

Unregister a listener that was to be called for all profiling results.

[Android.Runtime.Register("unregisterForAllProfilingResults", "(Ljava/util/function/Consumer;)V", "", ApiSince=35)]
public void UnregisterForAllProfilingResults(Java.Util.Functions.IConsumer? listener);
[<Android.Runtime.Register("unregisterForAllProfilingResults", "(Ljava/util/function/Consumer;)V", "", ApiSince=35)>]
member this.UnregisterForAllProfilingResults : Java.Util.Functions.IConsumer -> unit

Parameters

listener
IConsumer

Listener to unregister and no longer be triggered with the results. Null to remove all global listeners for this uid.

Attributes

Remarks

Unregister a listener that was to be called for all profiling results. If no listener is provided, all listeners for this process that were not submitted with a profiling request will be removed.

Java documentation for android.os.ProfilingManager.unregisterForAllProfilingResults(java.util.function.Consumer<android.os.ProfilingResult>).

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