Android Guides | Samples

Android.OS.StrictMode.ThreadPolicy.Builder.PenaltyDialog Method

Show an annoying dialog to the developer on detected violations, rate-limited to be only a little annoying.

Syntax

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

Remarks

Show an annoying dialog to the developer on detected violations, rate-limited to be only a little annoying.

[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