Android Guides | Samples

Android.OS.StrictMode.ThreadPolicy.Builder.PenaltyDropBox Method

Enable detected violations log a stacktrace and timing data to the DropBoxManager on policy violation.

Syntax

[Android.Runtime.Register("penaltyDropBox", "()Landroid/os/StrictMode$ThreadPolicy$Builder;", "")]
public StrictMode+ThreadPolicy+Builder PenaltyDropBox ()

Remarks

Enable detected violations log a stacktrace and timing data to the DropBoxManager on policy violation. Intended mostly for platform integrators doing beta user field data collection.

[Android Documentation]

Requirements

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