Język

NicknameDataKind Enum

Definition

Enumerates values returned by several methods of NicknameDataKind.

public enum NicknameDataKind
type NicknameDataKind = 
Inheritance
NicknameDataKind

Fields

Name Value Description
Custom 0

Uses a user-defined nickname category with a separate custom label.

Default 1

Uses the default nickname type.

OtherName 2

Classifies the stored nickname as another name.

MaidenName 3

Classifies the stored nickname as a maiden name.

MaindenName 3

This constant was deprecated in API level 15. Use TYPE_MAIDEN_NAME instead.

Android reference for android.provider.ContactsContract.CommonDataKinds.Nickname.TYPE_MAINDEN_NAME.

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.

ShortName 4

Classifies the stored nickname as a short name.

Initials 5

Classifies the stored nickname as initials.

Remarks

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