ProfilingManager.RegisterForAllProfilingResults(IExecutor, IConsumer) Method
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.
Register a listener to be called for all profiling results for this uid.
[Android.Runtime.Register("registerForAllProfilingResults", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=35)]
public void RegisterForAllProfilingResults(Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer listener);
[<Android.Runtime.Register("registerForAllProfilingResults", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=35)>]
member this.RegisterForAllProfilingResults : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
Parameters
- executor
- IExecutor
The executor to call back with.
- listener
- IConsumer
Listener to be triggered with result.
- Attributes
Remarks
Register a listener to be called for all profiling results for this uid. Listeners set here will be called in addition to any provided with the request.
Note: If a callback attempt fails (for example, because your app is killed while a trace is in progress) re-delivery may be attempted using a listener added via this method.
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.