Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#constants) \| [Ctors](https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#pubctors) \| [Inherited Methods](https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#inhmethods)

# Contacts.Intents.Insert

*** ** * ** ***

` public static final class Contacts.Intents.Insert `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.provider.Contacts.Intents.Insert |

<br />

*** ** * ** ***

<br />

**This class was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

Convenience class that contains string constants used to create contact `https://developer.android.com/reference/android/content/Intent`.

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#ACTION` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#COMPANY` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#EMAIL` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#EMAIL_ISPRIMARY` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#EMAIL_TYPE` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#FULL_MODE` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#IM_HANDLE` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#IM_ISPRIMARY` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#IM_PROTOCOL` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#JOB_TITLE` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#NAME` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#NOTES` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#PHONE` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#PHONETIC_NAME` *This constant was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#PHONE_ISPRIMARY` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#PHONE_TYPE` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#POSTAL` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#POSTAL_ISPRIMARY` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#POSTAL_TYPE` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#SECONDARY_EMAIL` *This constant was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#SECONDARY_EMAIL_TYPE` *This constant was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#SECONDARY_PHONE` *This constant was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#SECONDARY_PHONE_TYPE` *This constant was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#TERTIARY_EMAIL` *This constant was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#TERTIARY_EMAIL_TYPE` *This constant was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#TERTIARY_PHONE` *This constant was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#TERTIARY_PHONE_TYPE` *This constant was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`* |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/provider/Contacts.Intents.Insert#Insert()() ` *This constructor is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Constants

### ACTION

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String ACTION
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The action code to use when adding a contact

<br />

Constant Value: "android.intent.action.INSERT"

### COMPANY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String COMPANY
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact company.

Type: String

<br />

<br />

Constant Value: "company"

### EMAIL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String EMAIL
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact email address.

Type: String

<br />

<br />

Constant Value: "email"

### EMAIL_ISPRIMARY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String EMAIL_ISPRIMARY
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the email isprimary flag.

Type: boolean

<br />

<br />

Constant Value: "email_isprimary"

### EMAIL_TYPE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String EMAIL_TYPE
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact email type.

Type: Either an integer value from `https://developer.android.com/reference/android/provider/Contacts.ContactMethodsColumns` or a string specifying a custom label.

<br />

<br />

Constant Value: "email_type"

### FULL_MODE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String FULL_MODE
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

If present, forces a bypass of quick insert mode.

<br />

Constant Value: "full_mode"

### IM_HANDLE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String IM_HANDLE
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for an IM handle.

Type: String

<br />

<br />

Constant Value: "im_handle"

### IM_ISPRIMARY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String IM_ISPRIMARY
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the IM isprimary flag.

Type: boolean

<br />

<br />

Constant Value: "im_isprimary"

### IM_PROTOCOL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String IM_PROTOCOL
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the IM protocol

Type: the result of `https://developer.android.com/reference/android/provider/Contacts.ContactMethods#encodePredefinedImProtocol(int)` or `https://developer.android.com/reference/android/provider/Contacts.ContactMethods#encodeCustomImProtocol(java.lang.String)`.

<br />

<br />

Constant Value: "im_protocol"

### JOB_TITLE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String JOB_TITLE
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact job title.

Type: String

<br />

<br />

Constant Value: "job_title"

### NAME

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String NAME
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact name.

Type: String

<br />

<br />

Constant Value: "name"

### NOTES

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String NOTES
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact notes.

Type: String

<br />

<br />

Constant Value: "notes"

### PHONE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String PHONE
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact phone number.

Type: String

<br />

<br />

Constant Value: "phone"

### PHONETIC_NAME

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String PHONETIC_NAME
```

<br />

**This constant was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact phonetic name.

Type: String

<br />

<br />

Constant Value: "phonetic_name"

### PHONE_ISPRIMARY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String PHONE_ISPRIMARY
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the phone isprimary flag.

Type: boolean

<br />

<br />

Constant Value: "phone_isprimary"

### PHONE_TYPE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String PHONE_TYPE
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact phone number type.

Type: Either an integer value from `https://developer.android.com/reference/android/provider/Contacts.PhonesColumns`, or a string specifying a custom label.

<br />

<br />

Constant Value: "phone_type"

### POSTAL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String POSTAL
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact postal address.

Type: String

<br />

<br />

Constant Value: "postal"

### POSTAL_ISPRIMARY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String POSTAL_ISPRIMARY
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the postal isprimary flag.

Type: boolean

<br />

<br />

Constant Value: "postal_isprimary"

### POSTAL_TYPE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String POSTAL_TYPE
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for the contact postal address type.

Type: Either an integer value from `https://developer.android.com/reference/android/provider/Contacts.ContactMethodsColumns` or a string specifying a custom label.

<br />

<br />

Constant Value: "postal_type"

### SECONDARY_EMAIL

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SECONDARY_EMAIL
```

<br />

**This constant was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for an optional second contact email address.

Type: String

<br />

<br />

Constant Value: "secondary_email"

### SECONDARY_EMAIL_TYPE

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SECONDARY_EMAIL_TYPE
```

<br />

**This constant was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for an optional second contact email type.

Type: Either an integer value from `https://developer.android.com/reference/android/provider/Contacts.ContactMethodsColumns` or a string specifying a custom label.

<br />

<br />

Constant Value: "secondary_email_type"

### SECONDARY_PHONE

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SECONDARY_PHONE
```

<br />

**This constant was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for an optional second contact phone number.

Type: String

<br />

<br />

Constant Value: "secondary_phone"

### SECONDARY_PHONE_TYPE

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SECONDARY_PHONE_TYPE
```

<br />

**This constant was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for an optional second contact phone number type.

Type: Either an integer value from `https://developer.android.com/reference/android/provider/Contacts.PhonesColumns`, or a string specifying a custom label.

<br />

<br />

Constant Value: "secondary_phone_type"

### TERTIARY_EMAIL

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String TERTIARY_EMAIL
```

<br />

**This constant was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for an optional third contact email address.

Type: String

<br />

<br />

Constant Value: "tertiary_email"

### TERTIARY_EMAIL_TYPE

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String TERTIARY_EMAIL_TYPE
```

<br />

**This constant was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for an optional third contact email type.

Type: Either an integer value from `https://developer.android.com/reference/android/provider/Contacts.ContactMethodsColumns` or a string specifying a custom label.

<br />

<br />

Constant Value: "tertiary_email_type"

### TERTIARY_PHONE

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String TERTIARY_PHONE
```

<br />

**This constant was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for an optional third contact phone number.

Type: String

<br />

<br />

Constant Value: "tertiary_phone"

### TERTIARY_PHONE_TYPE

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String TERTIARY_PHONE_TYPE
```

<br />

**This constant was deprecated in API level 5.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The extra field for an optional third contact phone number type.

Type: Either an integer value from `https://developer.android.com/reference/android/provider/Contacts.PhonesColumns`, or a string specifying a custom label.

<br />

<br />

Constant Value: "tertiary_phone_type"

## Public constructors

### Insert

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public Insert ()
```

<br />

**This constructor is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

<br />

<br />