Android.App.Activity.Dump Method
Print the Activity's state into the given stream.

Syntax

[Android.Runtime.Register("dump", "(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V", "GetDump_Ljava_lang_String_Ljava_io_FileDescriptor_Ljava_io_PrintWriter_arrayLjava_lang_String_Handler")]
public virtual void Dump (string prefix, Java.IO.FileDescriptor fd, Java.IO.PrintWriter writer, string[] args)

Parameters

prefix
Desired prefix to prepend at each line of output.
fd
The raw file descriptor that the dump is being sent to.
writer
The PrintWriter to which you should dump your state. This will be closed for you after you return.
args
additional arguments to the dump request.

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11