Builder for CredentialPickerConfig.
|
Builder()
|
| CredentialPickerConfig |
build()
|
| CredentialPickerConfig.Builder |
setForNewAccount(boolean forNewAccount)
This method is deprecated. Replaced by
setPrompt(int).
|
| CredentialPickerConfig.Builder |
setPrompt(int prompt)
Sets the text prompt for the hint picker dialog title.
|
| CredentialPickerConfig.Builder |
setShowAddAccountButton(boolean showAddAccountButton)
Sets whether the add account button should be shown in credential picker
dialog.
|
| CredentialPickerConfig.Builder |
setShowCancelButton(boolean showCancelButton)
Sets whether the cancel button should be shown in credential picker dialog.
|
This method is deprecated.
Replaced by
setPrompt(int).
Sets whether the hint request is for a new account sign-up flow.
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".
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.