DefaultAccountState Enum

Definition

public enum DefaultAccountState
type DefaultAccountState = 
Inheritance
DefaultAccountState

Fields

Name Value Description
NotSet 1

A state indicating that default account is not set.

Android reference for android.provider.ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState.DEFAULT_ACCOUNT_STATE_NOT_SET.

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.

Local 2

A state indicating that default account is set to local device storage.

Android reference for android.provider.ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState.DEFAULT_ACCOUNT_STATE_LOCAL.

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.

Cloud 3

A state indicating that the default account is set as an account that is synced to the cloud.

Android reference for android.provider.ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState.DEFAULT_ACCOUNT_STATE_CLOUD.

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.

Sim 4

A state indicating that the default account is set as an account that is associated with one of SimContacts.getSimAccounts(ContentResolver).

Android reference for android.provider.ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState.DEFAULT_ACCOUNT_STATE_SIM.

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