FragmentHostCallback.OnDump Method

Definition

Print internal state into the given stream.

[Android.Runtime.Register("onDump", "(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V", "GetOnDump_Ljava_lang_String_Ljava_io_FileDescriptor_Ljava_io_PrintWriter_arrayLjava_lang_String_Handler", ApiSince=23)]
public virtual void OnDump (string? prefix, Java.IO.FileDescriptor? fd, Java.IO.PrintWriter? writer, string[]? args);
[<Android.Runtime.Register("onDump", "(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V", "GetOnDump_Ljava_lang_String_Ljava_io_FileDescriptor_Ljava_io_PrintWriter_arrayLjava_lang_String_Handler", ApiSince=23)>]
abstract member OnDump : string * Java.IO.FileDescriptor * Java.IO.PrintWriter * string[] -> unit
override this.OnDump : string * Java.IO.FileDescriptor * Java.IO.PrintWriter * string[] -> unit

Parameters

prefix
String

Desired prefix to prepend at each line of output.

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.

Attributes

Remarks

Print internal state into the given stream.

Java documentation for android.app.FragmentHostCallback.onDump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]).

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