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


ContactsContract.Contacts.GetLookupUri Method

Definition

Overloads

GetLookupUri(ContentResolver, Uri)

Builds a #CONTENT_LOOKUP_URI style Uri describing the requested Contacts entry.

GetLookupUri(Int64, String)

Build a #CONTENT_LOOKUP_URI lookup Uri using the given ContactsContract.Contacts#_ID and #LOOKUP_KEY.

GetLookupUri(ContentResolver, Uri)

Builds a #CONTENT_LOOKUP_URI style Uri describing the requested Contacts entry.

[Android.Runtime.Register("getLookupUri", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? GetLookupUri (Android.Content.ContentResolver? resolver, Android.Net.Uri? contactUri);
[<Android.Runtime.Register("getLookupUri", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/net/Uri;", "")>]
static member GetLookupUri : Android.Content.ContentResolver * Android.Net.Uri -> Android.Net.Uri

Parameters

resolver
ContentResolver
contactUri
Uri

A #CONTENT_URI row, or an existing #CONTENT_LOOKUP_URI to attempt refreshing.

Returns

Uri
Attributes

Remarks

Builds a #CONTENT_LOOKUP_URI style Uri describing the requested Contacts entry.

Java documentation for android.provider.ContactsContract.Contacts.getLookupUri(android.content.ContentResolver, android.net.Uri).

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

GetLookupUri(Int64, String)

Build a #CONTENT_LOOKUP_URI lookup Uri using the given ContactsContract.Contacts#_ID and #LOOKUP_KEY.

[Android.Runtime.Register("getLookupUri", "(JLjava/lang/String;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? GetLookupUri (long contactId, string? lookupKey);
[<Android.Runtime.Register("getLookupUri", "(JLjava/lang/String;)Landroid/net/Uri;", "")>]
static member GetLookupUri : int64 * string -> Android.Net.Uri

Parameters

contactId
Int64
lookupKey
String

Returns

Uri
Attributes

Remarks

Build a #CONTENT_LOOKUP_URI lookup Uri using the given ContactsContract.Contacts#_ID and #LOOKUP_KEY.

Returns null if unable to construct a valid lookup URI from the provided parameters.

Java documentation for android.provider.ContactsContract.Contacts.getLookupUri(long, java.lang.String).

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