語言

ProfilingManager.UnregisterForAllProfilingResults(IConsumer) 方法

定義

取消註冊一名將被召喚進行所有分析結果的聽眾。

[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

參數

listener
IConsumer

監聽者取消註冊,且不再被結果觸發。 Null 以移除此 UI 的所有全域監聽器。

屬性

備註

取消註冊一名將被召喚進行所有分析結果的聽眾。 若未提供聽眾,所有未隨資料分析請求提交的聽眾將被移除。

Java 文件 android.os.ProfilingManager.unregisterForAllProfilingResults(java.util.function.Consumer<android.os.ProfilingResult>)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於