Compartilhar via


ContactsContract.Contacts.IsEnterpriseContactId(Int64) Method

Definition

Return true if a contact ID is from the contacts provider on the managed profile.

[Android.Runtime.Register("isEnterpriseContactId", "(J)Z", "")]
public static bool IsEnterpriseContactId (long contactId);
[<Android.Runtime.Register("isEnterpriseContactId", "(J)Z", "")>]
static member IsEnterpriseContactId : int64 -> bool

Parameters

contactId
Int64

Returns

Attributes

Remarks

Return true if a contact ID is from the contacts provider on the managed profile.

PhoneLookup#ENTERPRISE_CONTENT_FILTER_URI and similar APIs may return such IDs.

Java documentation for android.provider.ContactsContract.Contacts.isEnterpriseContactId(long).

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