ContentProvider.DumpAsync(FileDescriptor, PrintWriter, String[]) Method

Definition

Print the Provider's state into the given stream. This gets invoked if you run "adb shell dumpsys activity provider <provider_component_name>".

public System.Threading.Tasks.Task DumpAsync(Java.IO.FileDescriptor? fd, Java.IO.PrintWriter? writer, string[]? args);
member this.DumpAsync : Java.IO.FileDescriptor * Java.IO.PrintWriter * string[] -> System.Threading.Tasks.Task

Parameters

fd
FileDescriptor

The raw file descriptor that the dump is being sent to.

writer
PrintWriter

The PrintWriter to which you should dump your state. This will be closed for you after you return.

args
String[]

additional arguments to the dump request.

Returns

A task that completes after the provider's state has been written to the supplied stream.

Remarks

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.

Java documentation for android.content.ContentProvider.dump(java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]).

Applies to