ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState.OfCloud 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.
Creates a DefaultAccountAndState instance representing a default account that is set to the cloud and associated with the specified cloud account.
[Android.Runtime.Register("ofCloud", "(Landroid/accounts/Account;)Landroid/provider/ContactsContract$RawContacts$DefaultAccount$DefaultAccountAndState;", "", ApiSince=36)]
public static Android.Provider.ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState OfCloud(Android.Accounts.Account cloudAccount);
[<Android.Runtime.Register("ofCloud", "(Landroid/accounts/Account;)Landroid/provider/ContactsContract$RawContacts$DefaultAccount$DefaultAccountAndState;", "", ApiSince=36)>]
static member OfCloud : Android.Accounts.Account -> Android.Provider.ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState
Parameters
- cloudAccount
- Account
The non-null cloud account associated with the default contacts account.
Returns
A new DefaultAccountAndState instance with state DEFAULT_ACCOUNT_STATE_CLOUD. This value cannot be null.
- Attributes
Remarks
Creates a `DefaultAccountAndState` instance representing a default account that is set to the cloud and associated with the specified cloud 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.