共用方式為


ContactsContract.Contacts.Entity.InterfaceConsts.SortKeyPrimary Field

Definition

Sort key that takes into account locale-based traditions for sorting names in address books.

[Android.Runtime.Register("SORT_KEY_PRIMARY")]
public const string SortKeyPrimary;
[<Android.Runtime.Register("SORT_KEY_PRIMARY")>]
val mutable SortKeyPrimary : string

Field Value

Attributes

Remarks

Sort key that takes into account locale-based traditions for sorting names in address books. The default sort key is #DISPLAY_NAME_PRIMARY. For Chinese names the sort key is the name's Pinyin spelling, and for Japanese names it is the Hiragana version of the phonetic name.

Java documentation for android.provider.ContactsContract.ContactNameColumns.SORT_KEY_PRIMARY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to