# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Nested Classes | Constants | Ctors | Methods | Inherited Methods

# ViewDebug

`public class ViewDebug`
`extends Object` ``

java.lang.Object
↳ | android.view.ViewDebug

Various debugging/tracing tools related to `View` and the view hierarchy.

## Summary

### Nested classes
`@interface` | `ViewDebug.CapturedViewProperty` This annotation can be used to mark fields and methods to be dumped when the view is captured.
`@interface` | `ViewDebug.ExportedProperty` This annotation can be used to mark fields and methods to be dumped by the view server.
`@interface` | `ViewDebug.FlagToString` Defines a mapping from a flag to a String.
`enum` | `ViewDebug.HierarchyTraceType` This enum is deprecated. This enum is now unused
`@interface` | `ViewDebug.IntToString` Defines a mapping from an int value to a String.
`enum` | `ViewDebug.RecyclerTraceType` This enum is deprecated. This enum is now unused

### Constants
`boolean` | `TRACE_HIERARCHY` This constant is deprecated. This flag is now unused
`boolean` | `TRACE_RECYCLER` This constant is deprecated. This flag is now unused

### Public constructors
`ViewDebug()`

### Public methods
`static void` | `dumpCapturedView(String tag, Object view)` Dump view info for id based instrument test generation (and possibly further data analysis).
`static void` | `startHierarchyTracing(String prefix, View view)` This method is deprecated. This method is now unused and invoking it is a no-op
`static void` | `startRecyclerTracing(String prefix, View view)` This method is deprecated. This method is now unused and invoking it is a no-op
`static void` | `stopHierarchyTracing()` This method is deprecated. This method is now unused and invoking it is a no-op
`static void` | `stopRecyclerTracing()` This method is deprecated. This method is now unused and invoking it is a no-op
`static void` | `trace(View view, ViewDebug.RecyclerTraceType type, int... parameters)` This method is deprecated. This method is now unused and invoking it is a no-op
`static void` | `trace(View view, ViewDebug.HierarchyTraceType type)` This method is deprecated. This method is now unused and invoking it is a no-op

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Constants

### TRACE_HIERARCHY

    public static final boolean TRACE_HIERARCHY

This constant is deprecated.
This flag is now unused

Constant Value: false

### TRACE_RECYCLER

    public static final boolean TRACE_RECYCLER

This constant is deprecated.
This flag is now unused

Constant Value: false

## Public constructors

### ViewDebug

    public ViewDebug ()

## Public methods

### dumpCapturedView

    public static void dumpCapturedView (String tag,
                    Object view)

Dump view info for id based instrument test generation (and possibly further data analysis). The results are dumped to the log.

Parameters
`tag` | `String`: for log
`view` | `Object`: for dump

### startHierarchyTracing

    public static void startHierarchyTracing (String prefix,
                    View view)

This method is deprecated.
This method is now unused and invoking it is a no-op

Parameters
`prefix` | `String`
`view` | `View`

### startRecyclerTracing

    public static void startRecyclerTracing (String prefix,
                    View view)

This method is deprecated.
This method is now unused and invoking it is a no-op

Parameters
`prefix` | `String`
`view` | `View`

### stopHierarchyTracing

    public static void stopHierarchyTracing ()

This method is deprecated.
This method is now unused and invoking it is a no-op

### stopRecyclerTracing

    public static void stopRecyclerTracing ()

This method is deprecated.
This method is now unused and invoking it is a no-op

### trace

    public static void trace (View view,
                    ViewDebug.RecyclerTraceType type,
                    int... parameters)

This method is deprecated.
This method is now unused and invoking it is a no-op

Parameters
`view` | `View`
`type` | `ViewDebug.RecyclerTraceType`
`parameters` | `int`

### trace

    public static void trace (View view,
                    ViewDebug.HierarchyTraceType type)

This method is deprecated.
This method is now unused and invoking it is a no-op

Parameters
`view` | `View`
`type` | `ViewDebug.HierarchyTraceType`

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*