Language

StrictMode.ThreadPolicy.Builder.PermitResourceMismatches Method

Definition

Disables detection of mismatches between defined resource types and getter calls.

[Android.Runtime.Register("permitResourceMismatches", "()Landroid/os/StrictMode$ThreadPolicy$Builder;", "", ApiSince=23)]
public Android.OS.StrictMode.ThreadPolicy.Builder PermitResourceMismatches();
[<Android.Runtime.Register("permitResourceMismatches", "()Landroid/os/StrictMode$ThreadPolicy$Builder;", "", ApiSince=23)>]
member this.PermitResourceMismatches : unit -> Android.OS.StrictMode.ThreadPolicy.Builder

Returns

The returned value is non-null.

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.

Java documentation for android.os.StrictMode.ThreadPolicy.Builder.permitResourceMismatches().

Applies to