Android APIs
public static class

CredentialPickerConfig.Builder

extends Object
java.lang.Object
   ↳ com.google.android.gms.auth.api.credentials.CredentialPickerConfig.Builder

Class Overview

Builder for CredentialPickerConfig.

Summary

Public Constructors
CredentialPickerConfig.Builder()
Public Methods
CredentialPickerConfig build()
CredentialPickerConfig.Builder setForNewAccount(boolean forNewAccount)
Sets whether the hint request is for a new account sign-up flow.
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CredentialPickerConfig.Builder ()

Public Methods

public CredentialPickerConfig build ()

public CredentialPickerConfig.Builder setForNewAccount (boolean forNewAccount)

Sets whether the hint request is for a new account sign-up flow.

public CredentialPickerConfig.Builder setShowAddAccountButton (boolean showAddAccountButton)

Sets whether the add account button should be shown in credential picker dialog.

public CredentialPickerConfig.Builder setShowCancelButton (boolean showCancelButton)

Sets whether the cancel button should be shown in credential picker dialog.