UserSettingViewModel
class UserSettingViewModel @Inject constructor(val fhirEngine: FhirEngine, val syncBroadcaster: SyncBroadcaster, val accountAuthenticator: AccountAuthenticator, val secureSharedPreference: SecureSharedPreference, val sharedPreferencesHelper: SharedPreferencesHelper, val configurationRegistry: ConfigurationRegistry, val workManager: WorkManager, val dispatcherProvider: DispatcherProvider, preferenceDataStore: PreferenceDataStore) : ViewModel
Constructors
Link copied to clipboard
@Inject
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This function clears all the data for the app from the device, cancels all background tasks, deletes the logged in user account from device accounts and finally clear all data stored in shared preferences.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard