SelfieLayoutOptions

public final class SelfieLayoutOptions implements Parcelable

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

Constructors

Link copied to clipboard
public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide, Boolean isCaptureScreenToolbarTitleHide, @DrawableRes() Integer previewScreenRetryBtnBg, @DrawableRes() Integer previewScreenDoneBtnBg, Boolean previewScreenToolbarBackIconHide)
public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide, Boolean isCaptureScreenToolbarTitleHide, @DrawableRes() Integer previewScreenRetryBtnBg, @DrawableRes() Integer previewScreenDoneBtnBg)
public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide, Boolean isCaptureScreenToolbarTitleHide, @DrawableRes() Integer previewScreenRetryBtnBg)
public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide, Boolean isCaptureScreenToolbarTitleHide)
public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide)
public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg)
public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg)
public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation)
public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg)
public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity)

Properties

Link copied to clipboard

Option to set Capture screen prompt label position.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Sets the card elevation for "Remove glasses and hat. Avoid having bright lights" background Selfie Instruction screen.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Option to hide the Preview screen toolbar back icon. Default is false (shown).

Link copied to clipboard

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

Link copied to clipboard

Sets the background drawable for the Retry button on the Selfie 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

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

Link copied to clipboard

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

Link copied to clipboard

Sets the card elevation for "Remove glasses and hat. Avoid having bright lights" background Selfie Instruction screen.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Option to hide the Preview screen toolbar back icon. Default is false (shown).

Link copied to clipboard

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

Link copied to clipboard

Sets the background drawable for the Retry button on the Selfie 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
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 setInstructionBackBtnHide(Boolean instructionBackBtnHide)

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

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

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

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

Sets the card elevation for "Remove glasses and hat. Avoid having bright lights" background Selfie Instruction screen.

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

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

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

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

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

Option to hide the Preview screen toolbar back icon. Default is false (shown).

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

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

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

Sets the background drawable for the Retry button on the Selfie 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)