{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

InspectableProperty.EnumEntry


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

Summary

Public constructors

EnumEntry(name: String, value: Int)
android

Public properties

String

The string name of this enumeration value.

android
Int

The integer value of this enumeration value.

android

Public constructors

EnumEntry

EnumEntry(name: String, value: Int)

Public properties

name

val nameString

The string name of this enumeration value.

Returns
String

A string name

value

val valueInt

The integer value of this enumeration value.

Returns
Int

An integer value