Skip to content

Most visited

Recently visited

navigation

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

From interface java.lang.annotation.Annotation

Public methods

equals

int equals ()

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

Returns
int An arbitrary value.

mask

int mask ()

The mask to apply to the original value.

Returns
int An arbitrary int value.

name

String name ()

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

Returns
String An arbitrary non-null String.

outputIf

boolean outputIf ()

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

Returns
boolean
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.