Compartilhar via


ContactsContract.Intents.ExtraForceCreate Field

Definition

Used with #SHOW_OR_CREATE_CONTACT to force creating a new contact if no matching contact found.

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

Field Value

Attributes

Remarks

Used with #SHOW_OR_CREATE_CONTACT to force creating a new contact if no matching contact found. Otherwise, default behavior is to prompt user with dialog before creating.

Type: BOOLEAN

Java documentation for android.provider.ContactsContract.Intents.EXTRA_FORCE_CREATE.

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