共用方式為


ContactsContract.Contacts.Photo.InterfaceConsts.DisplayNameAlternative Field

Definition

An alternative representation of the display name, such as "family name first" instead of "given name first" for Western names.

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

Field Value

Attributes

Remarks

An alternative representation of the display name, such as "family name first" instead of "given name first" for Western names. If an alternative is not available, the values should be the same as #DISPLAY_NAME_PRIMARY.

A contacts provider is free to provide alternatives as necessary for its target market. For example the default Android Open Source Project contacts provider currently provides an alternative in a single case: if the display name is based on the structured name and the structured name follows the Western full name style, then the field contains the "family name first" version of the full name. Other cases may be added later.

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

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