RecordScanResult
public enum RecordScanResult
The result of scanning to record generic (not Usher specific) codes (various scannab;e code types)
-
The scan was successful
Declaration
Swift
case success -
The scan failed
Declaration
Swift
case failure(UsherErrorProtocol) -
Returns
trueif the result is a success,falseotherwise.Declaration
Swift
public var isSuccess: Bool { get } -
Returns
trueif the result is a failure,falseotherwise.Declaration
Swift
public var isFailure: Bool { get } -
Returns the underlying error if the result if failure, nil otherwise.
Declaration
Swift
public var error: UsherErrorProtocol? { get }
RecordScanResult Enumeration Reference