FUIBarcodeScannerDelegate

public protocol FUIBarcodeScannerDelegate: class

Delegate protocol for receiving the result of a code scanning process.

  • Called after a scanning process. The ScanResult can be nil if there was a decoding failure in the AVFoundation framework.

    Note

    This method is only called once. If the scanner should continue to scan codes, you must invoke scanCode(uiVIew: UIView) again to restart the scanning process.

    Declaration

    Swift

    func didReceiveScanResult(scanResult: FUIBarcodeScanResult?)

    Parameters

    scanResult

    the ScanResult instance or nil if decoding failed.