Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.21 KB

BlePresentationService.md

File metadata and controls

55 lines (39 loc) · 1.21 KB

EXTENSION

BlePresentationService

extension BlePresentationService: MdocOfflineDelegate

Methods

didChangeStatus(_:)

public func didChangeStatus(_ newStatus: MdocDataTransfer18013.TransferStatus)

BLE transfer changed status

  • Parameter newStatus: New status

Parameters

Name Description
newStatus New status

didFinishedWithError(_:)

public func didFinishedWithError(_ error: Error)

Transfer finished with error

  • Parameter error: The error description

Parameters

Name Description
error The error description

didReceiveRequest(_:handleSelected:)

public func didReceiveRequest(_ request: [String : Any], handleSelected: @escaping (Bool, MdocDataTransfer18013.RequestItems?) -> Void)

Received request handler

  • Parameters:
    • request: Request items keyed by §UserRequestKeys§
    • handleSelected: Callback function to call after user selection of items to send

Parameters

Name Description
request Request items keyed by §UserRequestKeys§
handleSelected Callback function to call after user selection of items to send