StrictMode.ThreadPolicy.Builder.PenaltyDialog Method

Definition

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

[Android.Runtime.Register("penaltyDialog", "()Landroid/os/StrictMode$ThreadPolicy$Builder;", "")]
public Android.OS.StrictMode.ThreadPolicy.Builder PenaltyDialog ();
[<Android.Runtime.Register("penaltyDialog", "()Landroid/os/StrictMode$ThreadPolicy$Builder;", "")>]
member this.PenaltyDialog : unit -> Android.OS.StrictMode.ThreadPolicy.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