java.lang.Object | |
↳ | com.google.android.gms.auth.api.credentials.CredentialPickerConfig.Builder |
Builder for CredentialPickerConfig
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Replaced by
setPrompt(int) .
| |||||||||||
Sets the text prompt for the hint picker dialog title.
| |||||||||||
Sets whether the add account button should be shown in credential picker dialog.
| |||||||||||
Sets whether the cancel button should be shown in credential picker dialog.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This method is deprecated.
Replaced by setPrompt(int)
.
Sets whether the hint request is for a new account sign-up flow.
Parameters | |
---|---|
forNewAccount |
boolean
|
Returns | |
---|---|
CredentialPickerConfig.Builder |
Sets the text prompt for the hint picker dialog title. If you are using a list of suggested
credential data for new account creation, we recommend using Prompt.SIGN_UP
and the
user will see the "Sign up with" prompt, whereas for signing in to an existing account, using
Prompt.SIGN_IN
will result in the user seeing "Sign in with". Otherwise, the default
prompt is "Continue with".
Parameters | |
---|---|
prompt |
int
|
Returns | |
---|---|
CredentialPickerConfig.Builder |
Sets whether the add account button should be shown in credential picker dialog.
Parameters | |
---|---|
showAddAccountButton |
boolean
|
Returns | |
---|---|
CredentialPickerConfig.Builder |
Sets whether the cancel button should be shown in credential picker dialog.
Parameters | |
---|---|
showCancelButton |
boolean
|
Returns | |
---|---|
CredentialPickerConfig.Builder |