Package com.hp.lft.sdk.ai
Class AiRunSettings
java.lang.Object
com.hp.lft.sdk.ai.AiRunSettings
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OCRType
Retrieves the OCR provider used at runtimestatic boolean
Retrieves a value that indicates if the verify identification feature is enabled or disabled.static void
setVerifyIdentificationEnabled
(boolean enabled) Enables or disables verify identification feature.static void
updateAutoScrollSettings
(AiAutoScrollSettings settings) Updates the AI auto scroll settings.static void
updateComboBoxSettings
(AiComboBoxSettings settings) Updates the AI-based combo box select settings.static void
updateOCRSettings
(AiOCRSettings settings) Updates the AI OCR settings.
-
Constructor Details
-
AiRunSettings
public AiRunSettings()
-
-
Method Details
-
updateOCRSettings
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
Retrieves the OCR provider used at runtime- Returns:
- The OCR provider used at runtime
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setVerifyIdentificationEnabled
Enables or disables verify identification feature.- Parameters:
enabled
- whether to enable or disable the feature.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isVerifyIdentificationEnabled
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
-