Summary: Ctors | Methods | Inherited Methods | [Expand All]
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.
HintRequest.Builder | setPhoneNumberIdentifierSupported(boolean phoneNumberIdentifierSupported) Enables returning `credential` hints where the identifier is a phone number, intended for use with a password chosen by the user or SMS verification.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## 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.

#### public HintRequest.Builder setPhoneNumberIdentifierSupported (boolean phoneNumberIdentifierSupported)

Enables returning `credential` hints where the identifier is a phone number, intended for use with a password chosen by the user or SMS verification.