The Android Developer Challenge is back! Submit your idea before December 2.

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