Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

InspectableProperty.EnumEntry

public static abstract @interface InspectableProperty.EnumEntry
implements Annotation

androidx.annotation.InspectableProperty.EnumEntry


One entry in an enumeration packed into a primitive {int}.

Summary

Public methods

String name()

The string name of this enumeration value.

int value()

The integer value of this enumeration value.

Inherited methods

Public methods

name

public String name ()

The string name of this enumeration value.

Returns
String A string name

value

public int value ()

The integer value of this enumeration value.

Returns
int An integer value