目录

class info
com.huawei.hms.mlsdk.card.icr.cloud.MLRemoteIcrAnalyzerSetting

On-cloud ID card recognition configurator, which is used to specify the attributes of the ID card recognition analyzer on the cloud.

The ID card recognition analyzer attributes include:

1. Front and back sides of an ID card

2. Country code

Constant Summary

TypeNameDesc
StringBACKBack side of an ID card.
StringFRONTFront side of an ID card.

Public Method Summary

Return typeMethod name
MLRemoteIcrAnalyzerSetting.Factorycreate()
booleanequals(Object obj)
StringgetCountryCode()
StringgetSideType()
inthashCode()

Constants

Constant
public static final String BACK

Back side of an ID card.

Constant value: BACK

Constant
public static final String FRONT

Front side of an ID card.

Constant value: FRONT

Public Methods

Method
public MLRemoteIcrAnalyzerSetting.Factory create()
Creates an instance of MLRemoteIcrAnalyzerSetting.Factory.

Return

Typedesc
MLRemoteIcrAnalyzerSetting.FactoryReturns the instance of MLRemoteIcrAnalyzerSetting.Factory.
Method
public boolean equals(Object obj)
Checks whether two ID card recognition configurator instances are equal.

Parameters

Parameter nameParameter desc
objID card recognition configurator instance to be compared.


Return

Typedesc
boolean

true: Two ID card recognition configurator instances are equal.

false: Two ID card recognition configurator instances are not equal.

Method
public String getCountryCode()
Obtains the country code (two-letter code complying with the ISO 3166-1 standard) of the ID card. The default value is CN.

Return

Typedesc
StringReturns the country code (two-letter code complying with the ISO 3166-1 standard) of the ID card. The default value is CN.
Method
public String getSideType()
Obtains the front or back side of an ID card recognized.

Return

Typedesc
String

Returns the front or back side of an ID card recognized.

BACK: back side

FRONT: front side
Method
public int hashCode()
Obtains the hash value of the ID card recognition configurator instance.

Return

Typedesc
intReturns the hash value of the ID card recognition configurator instance.