Added in API level 3

ViewDebug.CapturedViewProperty


public static abstract @interface ViewDebug.CapturedViewProperty
implements Annotation

android.view.ViewDebug.CapturedViewProperty


This annotation can be used to mark fields and methods to be dumped when the view is captured. Methods with this annotation must have no arguments and must return a valid type of data.

Summary

Public methods

boolean retrieveReturn()

When retrieveReturn is true, we need to retrieve second level methods e.g., we need myView.getFirstLevelMethod().getSecondLevelMethod() we will set retrieveReturn = true on the annotation of myView.getFirstLevelMethod()

Inherited methods

abstract Class<? extends Annotation> annotationType()

Returns the annotation interface of this annotation.

abstract boolean equals(Object obj)

Returns true if the specified object represents an annotation that is logically equivalent to this one.

abstract int hashCode()

Returns the hash code of this annotation.

abstract String toString()

Returns a string representation of this annotation.

Public methods

retrieveReturn

Added in API level 3
public boolean retrieveReturn ()

When retrieveReturn is true, we need to retrieve second level methods e.g., we need myView.getFirstLevelMethod().getSecondLevelMethod() we will set retrieveReturn = true on the annotation of myView.getFirstLevelMethod()

Returns
boolean true if we need the second level methods