Stay organized with collections
Save and categorize content based on your preferences.
public
static
interface
ContactsContract.FullNameStyle
android.provider.ContactsContract.FullNameStyle
|
Constants for various styles of combining given name, family name etc into
a full name. For example, the western tradition follows the pattern
'given name' 'middle name' 'family name' with the alternative pattern being
'family name', 'given name' 'middle name'. The CJK tradition is
'family name' 'middle name' 'given name', with Japanese favoring a space between
the names and Chinese omitting the space.
Summary
Constants |
int |
CHINESE
|
int |
CJK
Used if the name is written in Hanzi/Kanji/Hanja and we could not determine
which specific language it belongs to: Chinese, Japanese or Korean.
|
int |
JAPANESE
|
int |
KOREAN
|
int |
UNDEFINED
|
int |
WESTERN
|
Constants
CHINESE
public static final int CHINESE
Constant Value:
3
(0x00000003)
CJK
public static final int CJK
Used if the name is written in Hanzi/Kanji/Hanja and we could not determine
which specific language it belongs to: Chinese, Japanese or Korean.
Constant Value:
2
(0x00000002)
JAPANESE
public static final int JAPANESE
Constant Value:
4
(0x00000004)
KOREAN
public static final int KOREAN
Constant Value:
5
(0x00000005)
UNDEFINED
public static final int UNDEFINED
Constant Value:
0
(0x00000000)
WESTERN
public static final int WESTERN
Constant Value:
1
(0x00000001)
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# ContactsContract.FullNameStyle\n\nAdded in [API level 11](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nContactsContract.FullNameStyle\n==============================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/provider/ContactsContract.FullNameStyle \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nContactsContract.FullNameStyle\n`\n\n\n`\n\n\n`\n\n|-------------------------------------------------|\n| android.provider.ContactsContract.FullNameStyle |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nConstants for various styles of combining given name, family name etc into\na full name. For example, the western tradition follows the pattern\n'given name' 'middle name' 'family name' with the alternative pattern being\n'family name', 'given name' 'middle name'. The CJK tradition is\n'family name' 'middle name' 'given name', with Japanese favoring a space between\nthe names and Chinese omitting the space.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [CHINESE](/reference/android/provider/ContactsContract.FullNameStyle#CHINESE) |\n| `int` | [CJK](/reference/android/provider/ContactsContract.FullNameStyle#CJK) Used if the name is written in Hanzi/Kanji/Hanja and we could not determine which specific language it belongs to: Chinese, Japanese or Korean. |\n| `int` | [JAPANESE](/reference/android/provider/ContactsContract.FullNameStyle#JAPANESE) |\n| `int` | [KOREAN](/reference/android/provider/ContactsContract.FullNameStyle#KOREAN) |\n| `int` | [UNDEFINED](/reference/android/provider/ContactsContract.FullNameStyle#UNDEFINED) |\n| `int` | [WESTERN](/reference/android/provider/ContactsContract.FullNameStyle#WESTERN) |\n\nConstants\n---------\n\n### CHINESE\n\nAdded in [API level 11](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int CHINESE\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n3\n(0x00000003)\n\n\n### CJK\n\nAdded in [API level 11](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int CJK\n```\n\nUsed if the name is written in Hanzi/Kanji/Hanja and we could not determine\nwhich specific language it belongs to: Chinese, Japanese or Korean.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)\n\n\n### JAPANESE\n\nAdded in [API level 11](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int JAPANESE\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4\n(0x00000004)\n\n\n### KOREAN\n\nAdded in [API level 11](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int KOREAN\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n5\n(0x00000005)\n\n\n### UNDEFINED\n\nAdded in [API level 11](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int UNDEFINED\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)\n\n\n### WESTERN\n\nAdded in [API level 11](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int WESTERN\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)"]]