Added in API level 4

ViewDebug.FlagToString


public static abstract @interface ViewDebug.FlagToString
implements Annotation

android.view.ViewDebug.FlagToString


Defines a mapping from a flag to a String. Such a mapping can be used in an @ExportedProperty to provide more meaningful values to the end user.

Summary

Public methods

int equals()

The value to compare to the result of: original value & mask().

int mask()

The mask to apply to the original value.

String name()

The String to use in place of the original int value.

boolean outputIf()

Indicates whether to output the flag when the test is true, or false.

Inherited methods

Public methods

equals

Added in API level 4
public int equals ()

The value to compare to the result of: original value & mask().

Returns
int An arbitrary value.

mask

Added in API level 4
public int mask ()

The mask to apply to the original value.

Returns
int An arbitrary int value.

name

Added in API level 4
public String name ()

The String to use in place of the original int value.

Returns
String An arbitrary non-null String.

outputIf

Added in API level 4
public boolean outputIf ()

Indicates whether to output the flag when the test is true, or false. Defaults to true.

Returns
boolean