IntToString
@Target([AnnotationTarget.CLASS, AnnotationTarget.FILE]) class IntToString
android.view.ViewDebug.IntToString |
Defines a mapping from an int value to a String. Such a mapping can be used in an @ExportedProperty to provide more meaningful values to the end user.
Summary
Public constructors | |
---|---|
IntToString(from: Int, to: String) Defines a mapping from an int value to a String. |
Properties | |
---|---|
Int |
The original int value to map to a String. |
String |
The String to use in place of the original int value. |
Public constructors
IntToString
IntToString(
from: Int,
to: String)
Defines a mapping from an int value to a String. Such a mapping can be used in an @ExportedProperty to provide more meaningful values to the end user.
Properties
from
val from: Int
The original int value to map to a String.
Return | |
---|---|
Int |
An arbitrary int value. |
to
val to: String
The String to use in place of the original int value.
Return | |
---|---|
String |
An arbitrary non-null String. |