Added in API level 1

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

Added in API level 1
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

Added in API level 1
val from: Int

The original int value to map to a String.

Return
Int An arbitrary int value.

to

Added in API level 1
val to: String

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

Return
String An arbitrary non-null String.