ContactsContract.Contacts.GetLookupUri 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.
Overloads
| GetLookupUri(ContentResolver, Uri) |
Builds a P:Android.Provider.ContactsContract+Contacts.ContentLookupUri style Uri describing the requested Contacts entry. |
| GetLookupUri(Int64, String) |
Build a P:Android.Provider.ContactsContract+Contacts.ContentLookupUri lookup Uri using the given Id and LookupKey. |
GetLookupUri(ContentResolver, Uri)
Builds a P:Android.Provider.ContactsContract+Contacts.ContentLookupUri 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 P:Android.Provider.ContactsContract+Contacts.ContentUri row, or an existing P:Android.Provider.ContactsContract+Contacts.ContentLookupUri to attempt refreshing.
Returns
- Attributes
Remarks
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 P:Android.Provider.ContactsContract+Contacts.ContentLookupUri lookup Uri using the given Id and LookupKey.
[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
- Attributes
Remarks
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.