Class AiRunSettings

java.lang.Object
com.hp.lft.sdk.ai.AiRunSettings

public class AiRunSettings extends Object
Enables modifying the AI Runtime settings temporarily. The supported settings are: AiOCRSettings, controls the list languages the AI OCR should look for. AiAutoScrollSettings, controls the automatic scrolling options.
  • Constructor Details

    • AiRunSettings

      public AiRunSettings()
  • Method Details

    • updateOCRSettings

      public static void updateOCRSettings(AiOCRSettings settings) throws GeneralLeanFtException
      Updates the AI OCR settings.
      Parameters:
      settings - the new AI OCR settings to use.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • updateAutoScrollSettings

      public static void updateAutoScrollSettings(AiAutoScrollSettings settings) throws GeneralLeanFtException
      Updates the AI auto scroll settings.
      Parameters:
      settings - the new auto scroll settings to use.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • updateComboBoxSettings

      public static void updateComboBoxSettings(AiComboBoxSettings settings) throws GeneralLeanFtException
      Updates the AI-based combo box select settings.
      Parameters:
      settings - The new AI-based combo box select settings to use.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getOCREngineProvider

      public static OCRType getOCREngineProvider() throws GeneralLeanFtException
      Retrieves the OCR provider used at runtime
      Returns:
      The OCR provider used at runtime
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • setVerifyIdentificationEnabled

      public static void setVerifyIdentificationEnabled(boolean enabled) throws GeneralLeanFtException
      Enables or disables verify identification feature.
      Parameters:
      enabled - whether to enable or disable the feature.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • isVerifyIdentificationEnabled

      public static boolean isVerifyIdentificationEnabled() throws GeneralLeanFtException
      Retrieves a value that indicates if the verify identification feature is enabled or disabled.
      Returns:
      a value that indicates if the verify identification feature is enabled or disabled.
      Throws:
      GeneralLeanFtException - if error occurs during execution