Language

StrictMode.VmPolicy.Builder.DetectActivityLeaks Method

Definition

Detect leaks of Activity subclasses.

[Android.Runtime.Register("detectActivityLeaks", "()Landroid/os/StrictMode$VmPolicy$Builder;", "")]
public Android.OS.StrictMode.VmPolicy.Builder DetectActivityLeaks();
[<Android.Runtime.Register("detectActivityLeaks", "()Landroid/os/StrictMode$VmPolicy$Builder;", "")>]
member this.DetectActivityLeaks : unit -> Android.OS.StrictMode.VmPolicy.Builder

Returns

The returned value is non-null.

Attributes

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.os.StrictMode.VmPolicy.Builder.detectActivityLeaks().

Applies to