Added in API level 1

ViewDebug.IntToString


public static abstract @interface ViewDebug.IntToString
implements Annotation

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 methods

int from()

The original int value to map to a String.

String to()

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

Inherited methods

Public methods

from

Added in API level 1
public int from ()

The original int value to map to a String.

Returns
int An arbitrary int value.

to

Added in API level 1
public String to ()

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

Returns
String An arbitrary non-null String.