# UProperty.NameChoice

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# NameChoice

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/icu/lang/UProperty.NameChoice "View this page in Java")  

```
interface NameChoice
```

|--------------------------------------------------------------------------------------------------------------------------------|
| [android.icu.lang.UProperty.NameChoice](https://developer.android.com/reference/kotlin/android/icu/lang/UProperty.NameChoice#) |

Selector constants for UCharacter.getPropertyName() and UCharacter.getPropertyValueName(). These selectors are used to choose which name is returned for a given property or value. All properties and values have a long name. Most have a short name, but some do not. Unicode allows for additional names, beyond the long and short name, which would be indicated by LONG + i, where i=1, 2,...

## Summary

|                                                                                                                         Constants                                                                                                                          ||
|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [LONG](https://developer.android.com/reference/kotlin/android/icu/lang/UProperty.NameChoice#LONG:kotlin.Int) Selector for the long name of a property or value.          |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SHORT](https://developer.android.com/reference/kotlin/android/icu/lang/UProperty.NameChoice#SHORT:kotlin.Int) Selector for the abbreviated name of a property or value. |

## Constants

### LONG

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val LONG: Int
```

Selector for the long name of a property or value. All properties and values have a long name.  

    Value: 1

### SHORT

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val SHORT: Int
```

Selector for the abbreviated name of a property or value. Most properties and values have a short name; those that do not return null.  

    Value: 0