Android Guides | Samples

Android.OS.StrictMode.ThreadPolicy.Builder.DetectNetwork Method

Enable detection of network operations.

Syntax

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

Remarks

Enable detection of network operations.

[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