A delegate object that responds when people interact with items that the data
scanner recognizes.
Implement this protocol to handle when people tap recognized items and,
optionally, provide additional feedback when the data scanner updates the
recognized items.
A default, blank implementation for when the data scanner becomes unavailable and stops scanning.
- Parameter dataScanner: The data scanner that’s not available.
- Parameter error: Describes an error if it occurs.
A default, blank implementation for when the data scanner starts recognizing an item.
- Parameter dataScanner: The data scanner that recognizes the item.
- Parameter addedItems: The items that the data scanner starts tracking.
- Parameter allItems: The current items that the data scanner tracks. Text items
appear in the reading order of the language and region.
A default, blank implementation for when a person taps an item that the data scanner recognizes.
- Parameter dataScanner: The data scanner with the zoom factor that changes.
- Parameter item: The item that a person taps.
A default, blank implementation for when the data scanner stops recognizing an item.
- Parameter dataScanner: The data scanner that recognizes the item.
- Parameter removedItems: The items that the data scanner removes from the
``DataScannerViewController/recognizedItems`` property.
- Parameter allItems: The current items that the data scanner tracks. Text items
appear in the reading order of the language and region.
A default, blank implementation for when the data scanner updates the geometry of an item it
recognizes.
- Parameter dataScanner: The data scanner that recognizes the item.
- Parameter updatedItems: The items with geometry that the data scanner changes.
- Parameter allItems: The current items that the data scanner tracks. Text items
appear in the reading order of the language and region.
A default, blank implementation for when a person or your code changes the zoom factor.
- Parameter dataScanner: The data scanner whose zoom factor changes.