public class SmartLockHandler extends AuthViewModelBase<IdpResponse>
| Constructor and Description |
|---|
SmartLockHandler(Application application) |
| Modifier and Type | Method and Description |
|---|---|
void |
onActivityResult(int requestCode,
int resultCode)
Forward the result of a resolution from the Activity to the ViewModel.
|
void |
saveCredentials(com.google.android.gms.auth.api.credentials.Credential credential)
Initialize saving a credential.
|
void |
saveCredentials(com.google.firebase.auth.FirebaseUser firebaseUser,
String password,
String accountType) |
void |
setResponse(IdpResponse response) |
getAuth, getCredentialsClient, getCurrentUser, initializeForTesting, onCreategetOperation, setResultgetArguments, init, onCleared, setArgumentspublic SmartLockHandler(Application application)
public void setResponse(@NonNull
IdpResponse response)
public void onActivityResult(int requestCode,
int resultCode)
public void saveCredentials(com.google.firebase.auth.FirebaseUser firebaseUser,
@Nullable
String password,
@Nullable
String accountType)
saveCredentials(Credential)public void saveCredentials(@Nullable
com.google.android.gms.auth.api.credentials.Credential credential)