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