Class SdkConfig

java.lang.Object
com.yoti.api.client.docs.session.create.SdkConfig

public class SdkConfig extends Object
Provides configuration properties used by the web/native clients
  • Method Details

    • builder

      public static SdkConfig.Builder builder()
    • getAllowedCaptureMethods

      public String getAllowedCaptureMethods()
      The methods allowed for capturing document images
      Returns:
      the allowed capture methods
    • getPrimaryColour

      public String getPrimaryColour()
      The primary colour
      Returns:
      the primary colour
    • getSecondaryColour

      public String getSecondaryColour()
      The secondary colour
      Returns:
      the secondary colour
    • getFontColour

      public String getFontColour()
      The font colour
      Returns:
      the font colour
    • getLocale

      public String getLocale()
      The locale
      Returns:
      the locale
    • getPresetIssuingCountry

      public String getPresetIssuingCountry()
      The preset issuing country
      Returns:
      the preset issuing country
    • getSuccessUrl

      public String getSuccessUrl()
      The success URL
      Returns:
      the success URL
    • getErrorUrl

      public String getErrorUrl()
      The error URL
      Returns:
      the error URL
    • getPrivacyPolicyUrl

      public String getPrivacyPolicyUrl()
      The privacy policy URL
      Returns:
      the privacy policy URL
    • getAllowHandoff

      public Boolean getAllowHandoff()
      If mobile handoff is allowed in the session
      Returns:
      if mobile handoff is allowed
    • getAttemptsConfiguration

      public AttemptsConfiguration getAttemptsConfiguration()
      The number of allowed attempts for certain tasks
      Returns:
      the attempts configuration