FlagToString
@Target([AnnotationTarget.CLASS, AnnotationTarget.FILE]) class FlagToString
| 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 constructors | |
|---|---|
| FlagToString(equals: Int, mask: Int, name: String, outputIf: Boolean)Defines a mapping from a flag to a String. | |
| Properties | |
|---|---|
| Int | The value to compare to the result of:  | 
| Int | The mask to apply to the original value. | 
| String | The String to use in place of the original int value. | 
| Boolean | Indicates whether to output the flag when the test is true, or false. | 
Public constructors
FlagToString
FlagToString(
equals: Int,
mask: Int,
name: String,
outputIf: Boolean)
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.
Properties
equals
val equals: Int
The value to compare to the result of: original value & .mask()
| Return | |
|---|---|
| Int | An arbitrary value. | 
mask
val mask: Int
The mask to apply to the original value.
| Return | |
|---|---|
| Int | An arbitrary int value. | 
name
val name: String
The String to use in place of the original int value.
| Return | |
|---|---|
| String | An arbitrary non-null String. | 
outputIf
val outputIf: Boolean
Indicates whether to output the flag when the test is true, or false. Defaults to true.
