IPCMobileScanner
@MainActor
public final class IPCMobileScanner : NSObject, BarcodeScanner
Fallback implementation for IPCMobileScanner when the RapidScanCompanion SDK is not available.
This version provides a non-functional scanner that always reports an SDK availability error.
-
The type of this scanner,
.ipcMobile.Declaration
Swift
@MainActor public let type: ScannerType -
The delegate, which will receive status updates.
Declaration
Swift
@MainActor public weak var delegate: (any BarcodeScannerDelegate)? -
The current status, always indicating the SDK is not available.
Declaration
Swift
@MainActor public private(set) var currentStatus: ScannerStatus { get set } -
Initializes the fallback IPCMobile scanner.
Declaration
Swift
@MainActor public init(serviceUUID: String? = nil) -
startMonitoring()AsynchronousDoes nothing as the SDK is not available. Reports current error status.
Declaration
Swift
@MainActor public func startMonitoring() async throws -
Does nothing as the SDK is not available.
Declaration
Swift
@MainActor public func stopMonitoring() -
triggerScan()AsynchronousDoes nothing as the SDK is not available.
Declaration
Swift
@MainActor public func triggerScan() async throws -
Does nothing as the SDK is not available.
Declaration
Swift
@MainActor public func reset() -
Returns
nilas QR code generation is not possible without the SDK. Reports current error status.Declaration
Swift
@MainActor public func getPairingQRCode() -> Image? -
Does nothing as the SDK is not available.
Declaration
Swift
@MainActor public func updateScannerDisplay(data: ScannerDisplayData) -
Always returns
falseas the SDK is not available.Declaration
Swift
@MainActor public func isAvailable() -> Bool