Stay organized with collections
Save and categorize content based on your preferences.
NameChoice
interface 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 |
Selector for the long name of a property or value.
|
static Int |
Selector for the abbreviated name of a property or value.
|
Constants
LONG
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
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
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# UProperty.NameChoice\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nNameChoice\n==========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/icu/lang/UProperty.NameChoice \"View this page in Java\") \n\n```\ninterface NameChoice\n```\n\n|--------------------------------------------|\n| [android.icu.lang.UProperty.NameChoice](#) |\n\nSelector 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,...\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [LONG](#LONG:kotlin.Int) Selector for the long name of a property or value. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SHORT](#SHORT:kotlin.Int) Selector for the abbreviated name of a property or value. |\n\nConstants\n---------\n\n### LONG\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LONG: Int\n```\n\nSelector for the long name of a property or value. All properties and values have a long name. \n\n Value: 1\n\n### SHORT\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SHORT: Int\n```\n\nSelector for the abbreviated name of a property or value. Most properties and values have a short name; those that do not return null. \n\n Value: 0"]]