Megosztás a következőn keresztül:


ContactsContract.IsProfileId(Int64) Method

Definition

This method can be used to identify whether the given ID is associated with profile data.

[Android.Runtime.Register("isProfileId", "(J)Z", "")]
public static bool IsProfileId (long id);
[<Android.Runtime.Register("isProfileId", "(J)Z", "")>]
static member IsProfileId : int64 -> bool

Parameters

id
Int64

The ID to check.

Returns

Whether the ID is associated with profile data.

Attributes

Remarks

This method can be used to identify whether the given ID is associated with profile data. It does not necessarily indicate that the ID is tied to valid data, merely that accessing data using this ID will result in profile access checks and will only return data from the profile.

Java documentation for android.provider.ContactsContract.isProfileId(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