Aracılığıyla paylaş


TracingController.Stop(Stream, IExecutor) Method

Definition

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.

Java documentation for android.webkit.TracingController.stop(java.io.OutputStream, java.util.concurrent.Executor).

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