SybrinIdentityConfiguration.Builder
Last updated
Last updated
import com.sybrin.identity.SybrinIdentityConfiguration
Builder for the immutable SybrinIdentityConfiguration class
public Builder (String license)
Creates a new Builder using a Sybrin Identity Android License.
public
SybrinIdentityConfiguration
build ()
Creates and returns a built SybrinIdentityConfiguration object.
public
SybrinIdentityConfiguration.Builder
enableHelpMessage (boolean enableHelpMessage)
Default value: true
Sets the visibility of the help message.
public
SybrinIdentityConfiguration.Builder
enableMultiPhaseVerification (boolean enableMultiPhaseVerification)
Default value: true
Sets whether the verification between scanning phases is enabled. An example of this would be to check if the data on the front of an ID Card matches the data found on the back.
public
SybrinIdentityConfiguration.Builder
enableTorchButton (boolean enableTorchButton)
Default value: true
Sets the visibility of the torch button.
public
SybrinIdentityConfiguration.Builder
saveImages (boolean saveImages)
Default value: false
Sets whether the SDK should save all captured images to the device upon completion of the scanning process.
public
SybrinIdentityConfiguration.Builder
setCameraFacing (
CameraFacing
cameraFacing)
Default value: CameraFacing.Back
Sets the direction of the camera that is used for the scanning process.
public
SybrinIdentityConfiguration.Builder
setCutoutCornerRadius (int CutoutCornerRadius)
Default value: 0
Sets the radius of the overlay cutout corners.
public
SybrinIdentityConfiguration.Builder
setEnvironmentKey(String environmentKey)
Sets key that defines the SDK's internal environment variables.
public
SybrinIdentityConfiguration.Builder
setOverlayBorderColor (int overlayBorderColor)
Default value: Color.WHITE
Sets the color of the overlay cutout border.
public
SybrinIdentityConfiguration.Builder
setOverlayBorderLength (int overlayBorderLength)
Default value: 40
Sets the length of the overlay cutout border corner pieces.
public
SybrinIdentityConfiguration.Builder
setOverlayBorderThickness (int overlayBorderThickness)
Default value: 7
Sets the thickness of the overlay cutout border.
public
SybrinIdentityConfiguration.Builder
setOverlayBrandingSubtitleColor (int overlayBrandingSubtitleColor)
Default value: Color.WHITE
Sets the text color of the branding subtitle.
public
SybrinIdentityConfiguration.Builder
setOverlayBrandingSubtitleText (String overlayBrandingSubtitleText)
Default value: "A DIVISION OF SYBRIN"
Sets the text of the branding subtitle.
public
SybrinIdentityConfiguration.Builder
setOverlayBrandingTitleColor (int overlayBrandingTitleColor)
Default value: Color.WHITE
Sets the text color of the branding title.
public
SybrinIdentityConfiguration.Builder
setOverlayBrandingTitleText (String overlayBrandingTitleText)
Default value: "INNOVATIONS LAB"
Sets the text of the branding title.
public
SybrinIdentityConfiguration.Builder
setOverlayColor (int overlayColor)
Default value: Color.argb(80, Color.red(Color.BLACK), Color.green(Color.BLACK), Color.blue(Color.BLACK))
Sets the color of the overlay.
public
SybrinIdentityConfiguration.Builder
setOverlayLabelTextColor (int overlayLabelTextColor)
Default value: Color.WHITE
Sets the color of the overlay label text.
public
SybrinIdentityConfiguration.Builder
setOverlaySubLabelTextColor (int overlaySubLabelTextColor)
Default value: Color.WHITE
Sets the color of the overlay sub-label text.
public
SybrinIdentityConfiguration.Builder
setTorchButtonColor (int torchButtonColor)
Default value: Color.WHITE
Sets the color of the torch button.