CLASS
Contents
- Properties
status
flow
- Methods
init(msg:)
init(error:)
startQrEngagement()
receiveRequest()
sendResponse(userAccepted:itemsToSend:onSuccess:)
public class FaultPresentationService: PresentationService
Fault presentation service. Used to communicate error state to the user
public var status: TransferStatus = .error
public var flow: FlowType = .other
public init(msg: String)
public init(error: Error)
public func startQrEngagement() async throws -> Data?
public func receiveRequest() async throws -> [String : Any]
public func sendResponse(userAccepted: Bool, itemsToSend: RequestItems, onSuccess: ((URL?) -> Void)?) async throws
Name | Description |
---|---|
userAccepted | True if user accepted to send the response |
itemsToSend | The selected items to send organized in document types and namespaces (see RequestItems ) |