-
public class CheckEmailHandler extends AuthViewModelBase<User>
-
-
Constructor Summary
Constructors Constructor Description CheckEmailHandler(Application application)
-
Method Summary
Modifier and Type Method Description voidfetchCredential()Initiates a hint picker flow using the new Identity API.This replaces the deprecated Credentials API call. voidfetchProvider(String email)Fetches the top provider for the given email. voidonActivityResult(int requestCode, int resultCode, @Nullable() Intent data)Handles the result from the hint picker launched via the new Identity API. -
Methods inherited from class com.firebase.ui.auth.viewmodel.AuthViewModelBase
getCurrentUser, initializeForTesting -
Methods inherited from class com.firebase.ui.auth.viewmodel.OperableViewModel
getOperation -
Methods inherited from class com.firebase.ui.auth.viewmodel.ViewModelBase
init -
Methods inherited from class androidx.lifecycle.AndroidViewModel
getApplication -
Methods inherited from class androidx.lifecycle.ViewModel
addCloseable -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CheckEmailHandler
CheckEmailHandler(Application application)
-
-
Method Detail
-
fetchCredential
void fetchCredential()
Initiates a hint picker flow using the new Identity API.This replaces the deprecated Credentials API call.
-
fetchProvider
void fetchProvider(String email)
Fetches the top provider for the given email.
-
onActivityResult
void onActivityResult(int requestCode, int resultCode, @Nullable() Intent data)
Handles the result from the hint picker launched via the new Identity API.
-
-
-
-