TracingController.Stop(Stream, IExecutor) 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.
Stops tracing and flushes tracing data to the specified outputStream.
[Android.Runtime.Register("stop", "(Ljava/io/OutputStream;Ljava/util/concurrent/Executor;)Z", "GetStop_Ljava_io_OutputStream_Ljava_util_concurrent_Executor_Handler", ApiSince=28)]
public abstract bool Stop (System.IO.Stream? outputStream, Java.Util.Concurrent.IExecutor executor);
[<Android.Runtime.Register("stop", "(Ljava/io/OutputStream;Ljava/util/concurrent/Executor;)Z", "GetStop_Ljava_io_OutputStream_Ljava_util_concurrent_Executor_Handler", ApiSince=28)>]
abstract member Stop : System.IO.Stream * Java.Util.Concurrent.IExecutor -> bool
Parameters
- outputStream
- Stream
The output stream the tracing data will be sent to. If null the tracing data will be discarded.
- executor
- IExecutor
The java.util.concurrent.Executor
on which the
outputStream java.io.OutputStream#write(byte[])
and
java.io.OutputStream#close()
methods will be invoked.
Returns
False if the WebView framework was not tracing at the time of the call, true otherwise.
- Attributes
Remarks
Stops tracing and flushes tracing data to the specified outputStream.
The data is sent to the specified output stream in json format typically in chunks by invoking java.io.OutputStream#write(byte[])
. On completion the java.io.OutputStream#close()
method is called.
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.