目录

class info
com.huawei.hms.mlsdk.card.MLCardAnalyzerFactory
Analyzer factory class, which is used to create various types of analyzers. The default analyzer configuration is built in, and you can also specify different types of analyzer configurations.

Public Method Summary

Return typeMethod name
MLBcrAnalyzergetBcrAnalyzer()
MLBcrAnalyzergetBcrAnalyzer(MLBcrAnalyzerSetting setting)
MLIcrAnalyzergetIcrAnalyzer()
MLIcrAnalyzergetIcrAnalyzer(MLIcrAnalyzerSetting setting)
MLCardAnalyzerFactorygetInstance()
MLCardAnalyzerFactorygetInstance(MLApplication applicaion)
MLRemoteIcrAnalyzergetRemoteIcrAnalyzer()
MLRemoteIcrAnalyzergetRemoteIcrAnalyzer(MLRemoteIcrAnalyzerSetting setting)

Public Methods

Method
public MLBcrAnalyzer getBcrAnalyzer()
Creates an on-device bank card analyzer instance based on the default configuration.

Return

Typedesc
MLBcrAnalyzerReturns an on-device bank card analyzer instance.
Method
public MLBcrAnalyzer getBcrAnalyzer(MLBcrAnalyzerSetting setting)
Creates an on-device bank card analyzer instance based on the specified configuration.

Parameters

Parameter nameParameter desc
settingSpecified on-device bank card analyzer configuration.

Return

Typedesc
MLBcrAnalyzerReturns an on-device bank card analyzer instance.
Method
public MLIcrAnalyzer getIcrAnalyzer()
Creates an on-device ID card analyzer instance based on the default configuration.

Return

Typedesc
MLIcrAnalyzerReturns an on-device ID card analyzer instance.
Method
public MLIcrAnalyzer getIcrAnalyzer(MLIcrAnalyzerSetting setting)
Creates an on-device ID card analyzer instance based on the specified configuration.

Parameters

Parameter nameParameter desc
settingSpecified on-device ID card analyzer configuration.

Return

Typedesc
MLIcrAnalyzerReturns an on-device ID card analyzer instance.
Method
public static MLCardAnalyzerFactory getInstance()
Obtains the card analyzer factory instance of the current app.

Return

Typedesc
MLCardAnalyzerFactoryReturns the card analyzer factory instance of the current app.
Method
public static MLCardAnalyzerFactory getInstance(MLApplication applicaion)
Obtains the card analyzer factory instance of a specified app.

Parameters

Parameter nameParameter desc
applicaionSpecified app.

Return

Typedesc
MLCardAnalyzerFactoryReturns the card analyzer factory instance of a specified app.
Method
public MLRemoteIcrAnalyzer getRemoteIcrAnalyzer()
Creates an on-cloud ID card analyzer instance based on the default configuration.

Return

Typedesc
MLRemoteIcrAnalyzerReturns an on-cloud ID card analyzer instance.
Method
public MLRemoteIcrAnalyzer getRemoteIcrAnalyzer(MLRemoteIcrAnalyzerSetting setting)
Creates an on-cloud ID card analyzer instance based on the specified configuration.

Parameters

Parameter nameParameter desc
settingSpecified on-cloud ID card analyzer configuration.

Return

Typedesc
MLRemoteIcrAnalyzerReturns an on-cloud ID card analyzer instance.