FUIBarcodeScanViewControllerDelegate
public protocol FUIBarcodeScanViewControllerDelegate : AnyObject
The delegate protocol for the FUIBarcodeScanViewController
.
-
Called after a scanning process. The
scanResult
can benil
if there was a decoding failure in theAVFoundation
framework.Declaration
Swift
func barcodeScanViewController(_ barcodeScanViewController: FUIBarcodeScanViewController, didReceiveScanResult scanResult: FUIBarcodeScanResult?)
Parameters
barcodeScanViewController
The
FUIBarcodeScanViewController
that host the FUIBarcodeScanner.scanResult
the ScanResult instance or
nil
if decoding failed.