android-components / mozilla.components.concept.sync / AccountObserver


interface AccountObserver (source)

Observer interface which lets its users monitor account state changes and major events.


Name Summary
onAuthenticated open fun onAuthenticated(account: OAuthAccount, authType: AuthType): Unit
Account was successfully authenticated.
onAuthenticationProblems open fun onAuthenticationProblems(): Unit
Account needs to be re-authenticated (e.g. due to a password change).
onLoggedOut open fun onLoggedOut(): Unit
Account just got logged out.
onProfileUpdated open fun onProfileUpdated(profile: Profile): Unit
Account’s profile is now available.