Android APIs
public static final class

HintRequest.Builder

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

Summary

Public Constructors
HintRequest.Builder()
Public Methods
HintRequest build()
Builds a HintRequest.
HintRequest.Builder setAccountTypes(String... accountTypes)
Sets the account types (identity providers) that are accepted by this application.
HintRequest.Builder setEmailAddressIdentifierSupported(boolean emailAddressIdentifierSupported)
Enables returning credential hints where the identifier is an email address, intended for use with a password chosen by the user.
HintRequest.Builder setHintPickerConfig(CredentialPickerConfig hintPickerConfig)
Sets the configuration for the hint picker dialog.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public HintRequest.Builder ()

Public Methods

public HintRequest build ()

Builds a HintRequest.

public HintRequest.Builder setAccountTypes (String... accountTypes)

Sets the account types (identity providers) that are accepted by this application. It is strongly recommended that the strings listed in IdentityProviders be used for the most common identity providers, and strings representing the login domain of the identity provider be used for any others which are not listed.

Parameters
accountTypes The list of account types (identity providers) supported by the app. typically in the form of the associated login domain for each identity provider.

public HintRequest.Builder setEmailAddressIdentifierSupported (boolean emailAddressIdentifierSupported)

Enables returning credential hints where the identifier is an email address, intended for use with a password chosen by the user.

public HintRequest.Builder setHintPickerConfig (CredentialPickerConfig hintPickerConfig)

Sets the configuration for the hint picker dialog.