StrictMode.VmPolicy.Builder.DetectLeakedClosableObjects Method

Definition

Detect when an ICloseable or other object with a explict termination method is finalized without having been closed.

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

Returns

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.

Applies to