共用方式為


ContactsContract.CommonDataKinds.Organization.InterfaceConsts.DisplayNamePrimary Field

Definition

The standard text shown as the contact's display name, based on the best available information for the contact (for example, it might be the email address if the name is not available).

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

Field Value

Attributes

Remarks

The standard text shown as the contact's display name, based on the best available information for the contact (for example, it might be the email address if the name is not available). The information actually used to compute the name is stored in #DISPLAY_NAME_SOURCE.

A contacts provider is free to choose whatever representation makes most sense for its target market. For example in the default Android Open Source Project implementation, if the display name is based on the structured name and the structured name follows the Western full-name style, then this field contains the "given name first" version of the full name.

Java documentation for android.provider.ContactsContract.ContactNameColumns.DISPLAY_NAME_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