IDLayoutOptions

public final class IDLayoutOptions implements Parcelable

Provides options to customize layout or position of labels in ID Capture, Retry and Instruction Screens.

Constructors

Link copied to clipboard
public IDLayoutOptions IDLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide, @DrawableRes() Integer captureAnywayButton, @DrawableRes() Integer exitButton, Boolean isIdCaptureProgressBarEnabled, Float idCaptureProgressBarLineWidth, @DrawableRes() Integer previewScreenRetryBtnBg, @DrawableRes() Integer previewScreenDoneBtnBg, Boolean previewScreenToolbarBackIconHide, Boolean isCaptureScreenToolbarTitleHide)

Properties

Link copied to clipboard

Sets the background drawable for the capture Anyway button on the ID Capture screen.

Link copied to clipboard

Option to set Capture screen prompt label position.

Link copied to clipboard

Sets the background drawable for the Exit button on the ID Capture screen.

Link copied to clipboard

Option to change the progress bar line width in ID Capture screen.

Link copied to clipboard

Hide the instruction back button set value to true Id Instruction screen.

Link copied to clipboard

Sets the background drawable for the Continue button on the ID Instruction screen.

Link copied to clipboard

Sets the card elevation for "Place your ID in the screen as shown. The image will be captured automatically." background Id Instruction screen.

Link copied to clipboard

Option to hide the Capture screen toolbar title text. Default is true (hidden).

Link copied to clipboard

Option to enable or disable progress bar in ID Capture screen.

Link copied to clipboard

Sets the background drawable for the Done button on the Preview screen.

Link copied to clipboard

Sets the background drawable for the Retry button on the Preview screen.

Link copied to clipboard

Option to hide the Preview screen toolbar back button. Default is true (hidden).

Link copied to clipboard

Sets the background drawable for the Done button on the ID Retry screen.

Link copied to clipboard

Sets the background drawable for the Retry button on the ID Retry screen.

Link copied to clipboard

Option to set Capture screen top bar cancel button position.

Functions

Link copied to clipboard
public abstract Integer describeContents()
Link copied to clipboard

Sets the background drawable for the capture Anyway button on the ID Capture screen.

Link copied to clipboard

Option to set Capture screen prompt label position.

Link copied to clipboard
public final Integer getExitButton()

Sets the background drawable for the Exit button on the ID Capture screen.

Link copied to clipboard

Option to change the progress bar line width in ID Capture screen.

Link copied to clipboard

Hide the instruction back button set value to true Id Instruction screen.

Link copied to clipboard

Sets the background drawable for the Continue button on the ID Instruction screen.

Link copied to clipboard

Sets the card elevation for "Place your ID in the screen as shown. The image will be captured automatically." background Id Instruction screen.

Link copied to clipboard

Sets the background drawable for the Done button on the Preview screen.

Link copied to clipboard

Sets the background drawable for the Retry button on the Preview screen.

Link copied to clipboard

Option to hide the Preview screen toolbar back button. Default is true (hidden).

Link copied to clipboard

Sets the background drawable for the Done button on the ID Retry screen.

Link copied to clipboard

Sets the background drawable for the Retry button on the ID Retry screen.

Link copied to clipboard

Option to set Capture screen top bar cancel button position.

Link copied to clipboard

Option to hide the Capture screen toolbar title text. Default is true (hidden).

Link copied to clipboard

Option to enable or disable progress bar in ID Capture screen.

Link copied to clipboard
public final Unit setCaptureAnywayButton(Integer captureAnywayButton)

Sets the background drawable for the capture Anyway button on the ID Capture screen.

Link copied to clipboard
public final Unit setCaptureLabelGravity(LabelGravity captureLabelGravity)

Option to set Capture screen prompt label position.

Link copied to clipboard
public final Unit setCaptureScreenToolbarTitleHide(Boolean isCaptureScreenToolbarTitleHide)

Option to hide the Capture screen toolbar title text. Default is true (hidden).

Link copied to clipboard
public final Unit setExitButton(Integer exitButton)

Sets the background drawable for the Exit button on the ID Capture screen.

Link copied to clipboard
public final Unit setIdCaptureProgressBarEnabled(Boolean isIdCaptureProgressBarEnabled)

Option to enable or disable progress bar in ID Capture screen.

Link copied to clipboard
public final Unit setIdCaptureProgressBarLineWidth(Float idCaptureProgressBarLineWidth)

Option to change the progress bar line width in ID Capture screen.

Link copied to clipboard
public final Unit setInstructionBackBtnHide(Boolean instructionBackBtnHide)

Hide the instruction back button set value to true Id Instruction screen.

Link copied to clipboard
public final Unit setInstructionContinueBtnBg(Integer instructionContinueBtnBg)

Sets the background drawable for the Continue button on the ID Instruction screen.

Link copied to clipboard
public final Unit setInstructionLabelTextBgCardElevation(Integer instructionLabelTextBgCardElevation)

Sets the card elevation for "Place your ID in the screen as shown. The image will be captured automatically." background Id Instruction screen.

Link copied to clipboard
public final Unit setPreviewScreenDoneBtnBg(Integer previewScreenDoneBtnBg)

Sets the background drawable for the Done button on the Preview screen.

Link copied to clipboard
public final Unit setPreviewScreenRetryBtnBg(Integer previewScreenRetryBtnBg)

Sets the background drawable for the Retry button on the Preview screen.

Link copied to clipboard
public final Unit setPreviewScreenToolbarBackIconHide(Boolean previewScreenToolbarBackIconHide)

Option to hide the Preview screen toolbar back button. Default is true (hidden).

Link copied to clipboard
public final Unit setRetryScreenDoneBtnBg(Integer retryScreenDoneBtnBg)

Sets the background drawable for the Done button on the ID Retry screen.

Link copied to clipboard
public final Unit setRetryScreenRetryBtnBg(Integer retryScreenRetryBtnBg)

Sets the background drawable for the Retry button on the ID Retry screen.

Link copied to clipboard
public final Unit setTopBarCancelButtonGravity(CancelButtonGravity topBarCancelButtonGravity)

Option to set Capture screen top bar cancel button position.

Link copied to clipboard
public abstract Unit writeToParcel(Parcel p0, Integer p1)