Insert
classInsert
kotlin.Any | |
↳ | android.provider.Contacts.Intents.Insert |
Convenience class that contains string constants used to create contact Intents
.
Summary
Constants | |
---|---|
static String |
The action code to use when adding a contact |
static String |
The extra field for the contact company. |
static String |
The extra field for the contact email address. |
static String |
The extra field for the email isprimary flag. |
static String |
The extra field for the contact email type. |
static String |
If present, forces a bypass of quick insert mode. |
static String |
The extra field for an IM handle. |
static String |
The extra field for the IM isprimary flag. |
static String |
The extra field for the IM protocol |
static String |
The extra field for the contact job title. |
static String |
The extra field for the contact name. |
static String |
The extra field for the contact notes. |
static String |
The extra field for the contact phone number. |
static String |
The extra field for the contact phonetic name. |
static String |
The extra field for the phone isprimary flag. |
static String |
The extra field for the contact phone number type. |
static String |
The extra field for the contact postal address. |
static String |
The extra field for the postal isprimary flag. |
static String |
The extra field for the contact postal address type. |
static String |
The extra field for an optional second contact email address. |
static String |
The extra field for an optional second contact email type. |
static String |
The extra field for an optional second contact phone number. |
static String |
The extra field for an optional second contact phone number type. |
static String |
The extra field for an optional third contact email address. |
static String |
The extra field for an optional third contact email type. |
static String |
The extra field for an optional third contact phone number. |
static String |
The extra field for an optional third contact phone number type. |
Public constructors | |
---|---|
Insert() |
Constants
ACTION
static valACTION: String
Deprecated: see android.provider.ContactsContract
The action code to use when adding a contact
Value: "android.intent.action.INSERT"
COMPANY
static valCOMPANY: String
Deprecated: see android.provider.ContactsContract
The extra field for the contact company.
Type: String
Value: "company"
static val
Deprecated: see android.provider.ContactsContract
The extra field for the contact email address.
Type: String
Value: "email"
EMAIL_ISPRIMARY
static valEMAIL_ISPRIMARY: String
Deprecated: see android.provider.ContactsContract
The extra field for the email isprimary flag.
Type: boolean
Value: "email_isprimary"
EMAIL_TYPE
static valEMAIL_TYPE: String
Deprecated: see android.provider.ContactsContract
The extra field for the contact email type.
Type: Either an integer value from ContactMethodsColumns
or a string specifying a custom label.
Value: "email_type"
FULL_MODE
static valFULL_MODE: String
Deprecated: see android.provider.ContactsContract
If present, forces a bypass of quick insert mode.
Value: "full_mode"
IM_HANDLE
static valIM_HANDLE: String
Deprecated: see android.provider.ContactsContract
The extra field for an IM handle.
Type: String
Value: "im_handle"
IM_ISPRIMARY
static valIM_ISPRIMARY: String
Deprecated: see android.provider.ContactsContract
The extra field for the IM isprimary flag.
Type: boolean
Value: "im_isprimary"
IM_PROTOCOL
static valIM_PROTOCOL: String
Deprecated: see android.provider.ContactsContract
The extra field for the IM protocol
Type: the result of Contacts.ContactMethods#encodePredefinedImProtocol
or Contacts.ContactMethods#encodeCustomImProtocol
.
Value: "im_protocol"
JOB_TITLE
static valJOB_TITLE: String
Deprecated: see android.provider.ContactsContract
The extra field for the contact job title.
Type: String
Value: "job_title"
NAME
static valNAME: String
Deprecated: see android.provider.ContactsContract
The extra field for the contact name.
Type: String
Value: "name"
NOTES
static valNOTES: String
Deprecated: see android.provider.ContactsContract
The extra field for the contact notes.
Type: String
Value: "notes"
PHONE
static valPHONE: String
Deprecated: see android.provider.ContactsContract
The extra field for the contact phone number.
Type: String
Value: "phone"
PHONETIC_NAME
static valPHONETIC_NAME: String
Deprecated: see android.provider.ContactsContract
The extra field for the contact phonetic name.
Type: String
Value: "phonetic_name"
PHONE_ISPRIMARY
static valPHONE_ISPRIMARY: String
Deprecated: see android.provider.ContactsContract
The extra field for the phone isprimary flag.
Type: boolean
Value: "phone_isprimary"
PHONE_TYPE
static valPHONE_TYPE: String
Deprecated: see android.provider.ContactsContract
The extra field for the contact phone number type.
Type: Either an integer value from PhonesColumns
, or a string specifying a custom label.
Value: "phone_type"
POSTAL
static valPOSTAL: String
Deprecated: see android.provider.ContactsContract
The extra field for the contact postal address.
Type: String
Value: "postal"
POSTAL_ISPRIMARY
static valPOSTAL_ISPRIMARY: String
Deprecated: see android.provider.ContactsContract
The extra field for the postal isprimary flag.
Type: boolean
Value: "postal_isprimary"
POSTAL_TYPE
static valPOSTAL_TYPE: String
Deprecated: see android.provider.ContactsContract
The extra field for the contact postal address type.
Type: Either an integer value from ContactMethodsColumns
or a string specifying a custom label.
Value: "postal_type"
SECONDARY_EMAIL
static valSECONDARY_EMAIL: String
Deprecated: see android.provider.ContactsContract
The extra field for an optional second contact email address.
Type: String
Value: "secondary_email"
SECONDARY_EMAIL_TYPE
static valSECONDARY_EMAIL_TYPE: String
Deprecated: see android.provider.ContactsContract
The extra field for an optional second contact email type.
Type: Either an integer value from ContactMethodsColumns
or a string specifying a custom label.
Value: "secondary_email_type"
SECONDARY_PHONE
static valSECONDARY_PHONE: String
Deprecated: see android.provider.ContactsContract
The extra field for an optional second contact phone number.
Type: String
Value: "secondary_phone"
SECONDARY_PHONE_TYPE
static valSECONDARY_PHONE_TYPE: String
Deprecated: see android.provider.ContactsContract
The extra field for an optional second contact phone number type.
Type: Either an integer value from PhonesColumns
, or a string specifying a custom label.
Value: "secondary_phone_type"
TERTIARY_EMAIL
static valTERTIARY_EMAIL: String
Deprecated: see android.provider.ContactsContract
The extra field for an optional third contact email address.
Type: String
Value: "tertiary_email"
TERTIARY_EMAIL_TYPE
static valTERTIARY_EMAIL_TYPE: String
Deprecated: see android.provider.ContactsContract
The extra field for an optional third contact email type.
Type: Either an integer value from ContactMethodsColumns
or a string specifying a custom label.
Value: "tertiary_email_type"
TERTIARY_PHONE
static valTERTIARY_PHONE: String
Deprecated: see android.provider.ContactsContract
The extra field for an optional third contact phone number.
Type: String
Value: "tertiary_phone"
TERTIARY_PHONE_TYPE
static valTERTIARY_PHONE_TYPE: String
Deprecated: see android.provider.ContactsContract
The extra field for an optional third contact phone number type.
Type: Either an integer value from PhonesColumns
, or a string specifying a custom label.
Value: "tertiary_phone_type"