DocRefineConfiguration, SisrConfiguration, TextConfiguration, TxtImageSuperResolutionConfigurationpublic class VisionConfiguration extends Object
This class is used to set configuration parameters for running CV abilities, including the mode-in, mode-out, and application type.
| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
VisionConfiguration.Builder<T extends VisionConfiguration.Builder<T>> |
A nested class used to create a
VisionConfiguration object. |
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
APP_QUICK |
Indicates that the client application is a quick application.
|
static int |
APP_TRADITIONAL |
Indicates that the client application is a traditional application.
|
protected int |
appType |
Indicates the type of APP.
|
protected String |
clientPkgName |
Indicates the client package name.
|
protected int |
clientState |
Indicates the running status of the client application.
|
protected String |
clientVersion |
Indicates the version of the client application.
|
static int |
MODE_IN |
Indicates that the method is executed in the process of the client.
|
static int |
MODE_OUT |
Indicates that the method is executed in the process of the server.
|
protected int |
processMode |
Indicates the process mode of the client application.
|
static int |
STATE_BACKGROUND |
Indicates that the client application is running on the background.
|
static int |
STATE_FOREGROUND |
Indicates that the client application is running on the foreground.
|
| 限定符 | 构造器 | 说明 |
|---|---|---|
protected |
VisionConfiguration(VisionConfiguration.Builder<?> builder) |
A constructor used to create a
VisionConfiguration instance. |
public static final int APP_QUICK
public static final int APP_TRADITIONAL
public static final int MODE_IN
public static final int MODE_OUT
public static final int STATE_BACKGROUND
public static final int STATE_FOREGROUND
protected int appType
protected String clientPkgName
protected int clientState
protected String clientVersion
protected int processMode
protected VisionConfiguration(VisionConfiguration.Builder<?> builder)
VisionConfiguration instance.builder - Indicates a configuration entity.