{% setvar book_path %}/reference/kotlin/dokkatest/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
annotation ViewDebug.FlagToString
Defines a mapping from a flag to a String. Such a mapping can be usedin an @ExportedProperty to provide more meaningful values to the end user.
See also | |
---|---|
ViewDebug.ExportedProperty |
Public functions |
|
---|---|
abstract Int |
equals() The value to compare to the result of: |
abstract Int |
mask() The mask to apply to the original value. |
abstract String |
name() The String to use in place of the original int value. |
abstract Boolean |
outputIf() Indicates whether to output the flag when the test is true,or false. |
abstract fun equals(): Int
The value to compare to the result of:original value &
.mask
Returns | |
---|---|
Int |
An arbitrary value. |
abstract fun mask(): Int
The mask to apply to the original value.
Returns | |
---|---|
Int |
An arbitrary int value. |