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, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg)

Properties

Link copied to clipboard

Option to set Capture screen prompt label position.

Link copied to clipboard

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

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

Option to set Capture screen prompt label position.

Link copied to clipboard

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

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
public final Unit setCaptureLabelGravity(LabelGravity captureLabelGravity)

Option to set Capture screen prompt label position.

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 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)