com.google.firebase.auth.FirebaseAuth.AuthStateListener |
Listener called when there is a change in the authentication state.
Use addAuthStateListener(AuthStateListener)
and
removeAuthStateListener(AuthStateListener)
to register or unregister listeners.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method gets invoked in the UI thread on changes in the authentication state:
|
This method gets invoked in the UI thread on changes in the authentication state:
Parameters | |
---|---|
auth |
FirebaseAuth :
use it to disambiguate which FirebaseAuth instance the event
corresponds to, in the case where you are using more than one at the same time.
|