Language

StrictMode.ThreadPolicy.Builder.DetectResourceMismatches Method

Definition

Enables detection of mismatches between defined resource types and getter calls. This helps detect accidental type mismatches and potentially expensive type conversions when obtaining typed resources.

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

Returns

The requested value.

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.detectResourceMismatches().

Applies to