ContactsContract.SyncState.Get(ContentProviderClient, Account) 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.
Reads the contacts provider'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
The queried data blob. If no account row exists, the result is null.
- 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
See also
- <xref:Android.Provider.SyncStateContract.Helpers.Get(Android.Content.ContentProviderClient%2c+Android.Net.Uri%2c+Android.Net.Uri)>