Udostępnij za pośrednictwem


StrictMode.ThreadPolicy.Builder Constructors

Definition

Overloads

StrictMode.ThreadPolicy.Builder()

Create a Builder that detects nothing and has no violations. (but note that Build() will default to enabling PenaltyLog() if no other penalties are specified)

StrictMode.ThreadPolicy.Builder(StrictMode+ThreadPolicy)

Initialize a Builder from an existing ThreadPolicy.

StrictMode.ThreadPolicy.Builder()

Create a Builder that detects nothing and has no violations. (but note that Build() will default to enabling PenaltyLog() if no other penalties are specified)

[Android.Runtime.Register(".ctor", "()V", "")]
public Builder ();
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

StrictMode.ThreadPolicy.Builder(StrictMode+ThreadPolicy)

Initialize a Builder from an existing ThreadPolicy.

[Android.Runtime.Register(".ctor", "(Landroid/os/StrictMode$ThreadPolicy;)V", "")]
public Builder (Android.OS.StrictMode.ThreadPolicy? policy);
[<Android.Runtime.Register(".ctor", "(Landroid/os/StrictMode$ThreadPolicy;)V", "")>]
new Android.OS.StrictMode.ThreadPolicy.Builder : Android.OS.StrictMode.ThreadPolicy -> Android.OS.StrictMode.ThreadPolicy.Builder

Parameters

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