Language

SyncStateContract.Helpers.GetWithUri Method

Definition

Reads an account's sync-state data together with its row URI.

[Android.Runtime.Register("getWithUri", "(Landroid/content/ContentProviderClient;Landroid/net/Uri;Landroid/accounts/Account;)Landroid/util/Pair;", "")]
public static Android.Util.Pair? GetWithUri(Android.Content.ContentProviderClient? provider, Android.Net.Uri? uri, Android.Accounts.Account? account);
[<Android.Runtime.Register("getWithUri", "(Landroid/content/ContentProviderClient;Landroid/net/Uri;Landroid/accounts/Account;)Landroid/util/Pair;", "")>]
static member GetWithUri : Android.Content.ContentProviderClient * Android.Net.Uri * Android.Accounts.Account -> Android.Util.Pair

Parameters

provider
ContentProviderClient

The client used to query the sync-state provider.

uri
Uri

The sync-state collection URI queried for this account.

account
Account

The account whose name and type select the sync-state row.

Returns

A pair containing the sync-state row URI and its data blob, in that order, or null when no account row exists.

Attributes

Exceptions

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