StrictMode.GetThreadPolicy Method

Definition

Returns the current thread's policy.

[Android.Runtime.Register("getThreadPolicy", "()Landroid/os/StrictMode$ThreadPolicy;", "")]
public static Android.OS.StrictMode.ThreadPolicy? GetThreadPolicy ();
[<Android.Runtime.Register("getThreadPolicy", "()Landroid/os/StrictMode$ThreadPolicy;", "")>]
static member GetThreadPolicy : unit -> Android.OS.StrictMode.ThreadPolicy

Returns

Attributes

Remarks

Java documentation for android.os.StrictMode.getThreadPolicy().

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