Share via


StrictMode.ThreadPolicy.Builder.PermitNetwork Method

Definition

Disable detection of network operations.

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