Språk

ContactsContract.ProfileSyncState.Get(ContentProviderClient, Account) Method

Definition

Reads the contact profile's sync-state data for the specified account.

[Android.Runtime.Register("get", "(Landroid/content/ContentProviderClient;Landroid/accounts/Account;)[B", "")]
public static byte[]? Get(Android.Content.ContentProviderClient? provider, Android.Accounts.Account? account);
[<Android.Runtime.Register("get", "(Landroid/content/ContentProviderClient;Landroid/accounts/Account;)[B", "")>]
static member Get : Android.Content.ContentProviderClient * Android.Accounts.Account -> byte[]

Parameters

provider
ContentProviderClient

The client used to query the sync-state provider.

account
Account

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

Returns

Byte[]

The queried data blob. If no account row exists, the result is null.

Attributes

Exceptions

Remarks

Java documentation for android.provider.ContactsContract.ProfileSyncState.get(android.content.ContentProviderClient, android.accounts.Account).

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

See also

  • <xref:Android.Provider.SyncStateContract.Helpers.Get(Android.Content.ContentProviderClient%2c+Android.Net.Uri%2c+Android.Net.Uri)>