PinConfig.Builder

  • PinConfig.Builder is used to create PinConfig instances.

  • The builder includes methods to set the background color, border color, and glyph of a PinConfig.

  • The build() method creates the final PinConfig object from the builder.

public static class PinConfig.Builder extends Object

A builder for creating PinConfig instances.

Public Constructor Summary

Public Method Summary

PinConfig
build()
Builds a PinConfig.
PinConfig.Builder
setBackgroundColor(int backgroundColor)
Sets the background color of the PinConfig.
PinConfig.Builder
setBorderColor(int borderColor)
Sets the border color of the PinConfig.
PinConfig.Builder

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public PinConfig build ()

Builds a PinConfig.

public PinConfig.Builder setBackgroundColor (int backgroundColor)

Sets the background color of the PinConfig.

public PinConfig.Builder setBorderColor (int borderColor)

Sets the border color of the PinConfig.

public PinConfig.Builder setGlyph (PinConfig.Glyph glyph)

Sets the PinConfig.Glyph of the PinConfig.