TagFinderDelegate

public protocol TagFinderDelegate

The delegate of a TagFinder object must adopt the TagFinderDelegate protocol. The methods of the protocol allow the delegate to report tags and commands from a reader and dectect status changes of searching.

  • Called when the search status changes

    Declaration

    Swift

    func statusChanged(_ status:SearchStatus)

    Parameters

    status

    the search status

  • Called when the App is connected/disconnected to a reader or the reader starts/stops Inventory.

    Declaration

    Swift

    func reportReaderStatus(_ status: ReaderStatus, result: Bool)

    Parameters

    status

    ReaderCommand

    result

    true on successful completion of ReaderCommand;false if ReaderCommand failed

  • Called when receiving a tag from the reader

    Declaration

    Swift

    func reportTag(_ tag: TagData)

    Parameters

    tag

    The tag data including EPC,RSSI,Phase etc.