ContactsContract.Contacts.LookupContact(ContentResolver, Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes a content URI (see #CONTENT_URI
) given a lookup URI.
[Android.Runtime.Register("lookupContact", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? LookupContact (Android.Content.ContentResolver? resolver, Android.Net.Uri? lookupUri);
[<Android.Runtime.Register("lookupContact", "(Landroid/content/ContentResolver;Landroid/net/Uri;)Landroid/net/Uri;", "")>]
static member LookupContact : Android.Content.ContentResolver * Android.Net.Uri -> Android.Net.Uri
Parameters
- resolver
- ContentResolver
- lookupUri
- Uri
Returns
- Attributes
Remarks
Computes a content URI (see #CONTENT_URI
) given a lookup URI.
Returns null if the contact cannot be found.
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.