目录

class info
com.huawei.hms.mlplugin.card.icr.cn.MLCnIcrCapture.CallBack
插件识别结果回调接口。

Public Method Summary

Return typeMethod name
voidonCanceled()
voidonDenied()
voidonFailure(int retCode, android.graphics.Bitmap bitmap)
voidonSuccess(mlplugin.card.icr.cn.MLCnIcrCaptureResult MLCnIcrCaptureResult)

Public Methods

Method
public void onCanceled()
用户取消。
Method
public void onDenied()
相机不支持。
Method
public void onFailure(int retCode, android.graphics.Bitmap bitmap)
识别失败。

Parameters

Parameter nameParameter desc
retCode错误码
bitmap身份证图片
Method
public void onSuccess(mlplugin.card.icr.cn.MLCnIcrCaptureResult result)
识别成功,返回二代身份证信息。

Parameters

Parameter nameParameter desc
result识别结果