We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
通过提供的 RemoteView,如何返回多码呢? 我验证多次, HmsScan[], 返回的 都是一个。
demo中,多码返回的,使用的相机扫码。
new RemoteView.Builder().setContext(this).setBoundingBox(rect).setFormat(HmsScan.ALL_SCAN_TYPE).build(); remoteView.setOnResultCallback(new OnResultCallback() { @OverRide public void onResult(HmsScan[] result) { //Check the result. if (result != null && result.length > 0 && result[0] != null && !TextUtils.isEmpty(result[0].getOriginalValue())) { } } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
通过提供的 RemoteView,如何返回多码呢?
我验证多次, HmsScan[], 返回的 都是一个。
demo中,多码返回的,使用的相机扫码。
new RemoteView.Builder().setContext(this).setBoundingBox(rect).setFormat(HmsScan.ALL_SCAN_TYPE).build();
remoteView.setOnResultCallback(new OnResultCallback() {
@OverRide
public void onResult(HmsScan[] result) {
//Check the result.
if (result != null && result.length > 0 && result[0] != null && !TextUtils.isEmpty(result[0].getOriginalValue())) {
}
}
});
The text was updated successfully, but these errors were encountered: