Android Guides | Samples

Android.Util.DebugUtils Class

See Also: DebugUtils

Syntax

[Android.Runtime.Register("android/util/DebugUtils", DoNotGenerateAcw=true)]
public class DebugUtils : Object

Remarks

Various utilities for debugging and logging.

[Android Documentation]

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Util.DebugUtils are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
IsObjectSelected(Object) : Boolean
  • Select TextView instances: TextView
  • Select TextView instances of text "Loading" and bottom offset of 22: TextView@text=Loading.*@bottom=22

java Example

 if (DEBUG) {
   if (DebugUtils.isObjectSelected(childView) && LOGV_ENABLED) {
     Log.v(TAG, "Object " + childView + " logged!");
   }
 }