Stay organized with collections
Save and categorize content based on your preferences.
UProperty.NameChoice
public
static
interface
UProperty.NameChoice
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 |
int |
LONG
Selector for the long name of a property or value.
|
int |
SHORT
Selector for the abbreviated name of a property or value.
|
Constants
LONG
public static final int LONG
Selector for the long name of a property or value. All
properties and values have a long name.
Constant Value:
1
(0x00000001)
SHORT
public static final int SHORT
Selector for the abbreviated name of a property or value.
Most properties and values have a short name; those that do
not return null.
Constant Value:
0
(0x00000000)
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](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nUProperty.NameChoice\n====================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/icu/lang/UProperty.NameChoice \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nUProperty.NameChoice\n`\n\n\n`\n\n\n`\n\n|---------------------------------------|\n| android.icu.lang.UProperty.NameChoice |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSelector constants for UCharacter.getPropertyName() and\nUCharacter.getPropertyValueName(). These selectors are used to\nchoose which name is returned for a given property or value.\nAll properties and values have a long name. Most have a short\nname, but some do not. Unicode allows for additional names,\nbeyond the long and short name, which would be indicated by\nLONG + i, where i=1, 2,... \n**See also:**\n\n- [UCharacter.getPropertyName(int, int)](/reference/android/icu/lang/UCharacter#getPropertyName(int,%20int))\n- [UCharacter.getPropertyValueName(int, int, int)](/reference/android/icu/lang/UCharacter#getPropertyValueName(int,%20int,%20int))\n\nSummary\n-------\n\n| ### Constants ||\n|-------|---------------------------------------------------------------------------------------------------------------------------|\n| `int` | [LONG](/reference/android/icu/lang/UProperty.NameChoice#LONG) Selector for the long name of a property or value. |\n| `int` | [SHORT](/reference/android/icu/lang/UProperty.NameChoice#SHORT) Selector for the abbreviated name of a property or value. |\n\nConstants\n---------\n\n### LONG\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int LONG\n```\n\nSelector for the long name of a property or value. All\nproperties and values have a long name.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)\n\n\n### SHORT\n\nAdded in [API level 24](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int SHORT\n```\n\nSelector for the abbreviated name of a property or value.\nMost properties and values have a short name; those that do\nnot return null.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)"]]