You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot set the callback time ;when scan success,I send my request to server;but the scan call back so frequently that it send so many requests to my server
The text was updated successfully, but these errors were encountered:
Well, you can stop QR decoding at the first callback. And when your operation is done, you can restart it (or not). Here is a simple example that I'm using:
@OverridepublicvoidonQRCodeRead(Stringtext, PointF[] points) {
qrCodeReaderView.setQRDecodingEnabled(false);
Helper.showStandardDialog(this, text, () -> {
// This code executed when the user touches the "ok" button.qrCodeReaderView.setQRDecodingEnabled(true);
});
}
I cannot set the callback time ;when scan success,I send my request to server;but the scan call back so frequently that it send so many requests to my server
The text was updated successfully, but these errors were encountered: