FUIBarcodeScanViewControllerDelegate
@available(visionOS, unavailable)
public protocol FUIBarcodeScanViewControllerDelegate : AnyObject
The delegate protocol for the FUIBarcodeScanViewController.
-
Called after a scanning process. The
scanResultcan benilif there was a decoding failure in theAVFoundationframework.Declaration
Swift
func barcodeScanViewController(_ barcodeScanViewController: FUIBarcodeScanViewController, didReceiveScanResult scanResult: FUIBarcodeScanResult?)Parameters
barcodeScanViewControllerThe
FUIBarcodeScanViewControllerthat host the FUIBarcodeScanner.scanResultthe ScanResult instance or
nilif decoding failed. -
Called after a scanning process when the
confirmationViewproperty of theFUIBarcodeScanViewControlleris notnil.The
scanResultcan benilif there was a decoding failure in theAVFoundationframework.Declaration
Swift
func barcodeScanViewController(_ barcodeScanViewController: FUIBarcodeScanViewController, didReceiveScanResult scanResult: FUIBarcodeScanResult?, confirmationView: UIView) -> BoolParameters
barcodeScanViewControllerThe
FUIBarcodeScanViewControllerthat hosts theFUIBarcodeScanner.scanResultthe
ScanResultinstance ornilif decoding failed.confirmationViewThe developer-provided confirmation view.