# Print output for @column tags ?> ViewDebug.FlagToString - Android SDK | Android Developers

Most visited

Recently visited

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.

See also:

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

public int equals ()

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

Returns
int An arbitrary value.

mask

public int mask ()

The mask to apply to the original value.

Returns
int An arbitrary int value.

name

public String name ()

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

Returns
String An arbitrary non-null String.

outputIf

public boolean outputIf ()

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

Returns
boolean