ProviderSignInMethod.Builder

public static final class ProviderSignInMethod.Builder
extends Object

java.lang.Object
   ↳ androidx.car.app.model.signin.ProviderSignInMethod.Builder


A builder of ProviderSignInMethod.

Summary

Public constructors

Builder(Action action)

Returns a ProviderSignInMethod.Builder instance.

Public methods

ProviderSignInMethod build()

Returns a ProviderSignInMethod instance.

Inherited methods

Public constructors

Builder

public Builder (Action action)

Returns a ProviderSignInMethod.Builder instance.

Requirements

The provider action must not be a standard action, and it must use a ParkedOnlyOnClickListener.

Parameters
action Action

Throws
IllegalArgumentException if action does not meet the requirements
NullPointerException if action is null

Public methods

build

public ProviderSignInMethod build ()

Returns a ProviderSignInMethod instance.

Returns
ProviderSignInMethod