public final class

PromptVerticalListContentView.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.biometric.PromptVerticalListContentView.Builder

Overview

A builder used to set individual options for the PromptVerticalListContentView class.

Summary

Constructors
publicBuilder()

Methods
public PromptVerticalListContentView.BuilderaddListItem(PromptContentItem listItem)

Optional: Adds a list item in the current row.

public PromptVerticalListContentView.BuilderaddListItem(PromptContentItem listItem, int index)

Optional: Adds a list item in the current row.

public PromptVerticalListContentViewbuild()

Creates a PromptVerticalListContentView.

public PromptVerticalListContentView.BuildersetDescription(java.lang.String description)

Optional: Sets a description that will be shown on the content view.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Methods

public PromptVerticalListContentView.Builder setDescription(java.lang.String description)

Optional: Sets a description that will be shown on the content view.

Parameters:

description: The description to display.

Returns:

This builder.

Optional: Adds a list item in the current row.

Parameters:

listItem: The list item view to display

Returns:

This builder.

public PromptVerticalListContentView.Builder addListItem(PromptContentItem listItem, int index)

Optional: Adds a list item in the current row.

Parameters:

listItem: The list item view to display
index: The position at which to add the item

Returns:

This builder.

Creates a PromptVerticalListContentView.

Returns:

An instance of PromptVerticalListContentView.