Mobile SDKs18 pages

SelfieLayoutOptions

← Browse native SDK reference

On this page · 4 sections
IDentity-SDK/com.idmission.sdk2.client.model/SelfieLayoutOptions

SelfieLayoutOptions

public final class SelfieLayoutOptions implements Parcelable

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

Constructors

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

Option to set Capture screen prompt label position.

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

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

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

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

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

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

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

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

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

Option to set Capture screen top bar cancel button position.

Functions

Option to set Capture screen prompt label position.

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

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

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

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

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

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

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

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

Option to set Capture screen top bar cancel button position.

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

public final Unit setCaptureLabelGravity(LabelGravity captureLabelGravity)

Option to set Capture screen prompt label position.

public final Unit setCaptureScreenToolbarTitleHide(Boolean isCaptureScreenToolbarTitleHide)

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

public final Unit setInstructionBackBtnHide(Boolean instructionBackBtnHide)

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

public final Unit setInstructionContinueBtnBg(Integer instructionContinueBtnBg)

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

public final Unit setInstructionLabelTextBgCardElevation(Integer instructionLabelTextBgCardElevation)

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

public final Unit setPreviewScreenDoneBtnBg(Integer previewScreenDoneBtnBg)

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

public final Unit setPreviewScreenRetryBtnBg(Integer previewScreenRetryBtnBg)

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

public final Unit setPreviewScreenToolbarBackIconHide(Boolean previewScreenToolbarBackIconHide)

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

public final Unit setRetryScreenDoneBtnBg(Integer retryScreenDoneBtnBg)

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

public final Unit setRetryScreenRetryBtnBg(Integer retryScreenRetryBtnBg)

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

public final Unit setTopBarCancelButtonGravity(CancelButtonGravity topBarCancelButtonGravity)

Option to set Capture screen top bar cancel button position.

public abstract Unit writeToParcel(Parcel p0, Integer p1)
Report a docs issue

Copy this context into your team’s issue tracker or an email to support@idmission.com.