TapSource objects to register on a core client. Register them through the tapSources config option or registerTapSource(); captureTap() then runs the highest-priority source that can capture here.
The array holds two sources, in priority order:
- redirect (
redirectTapSource(), priority20) - the tap that opened this page, read from its URL. Primary on every platform. - web-nfc (
webNfcTapSource(), priority0) - an in-page scan with the device’s own reader, where one is supported. A progressive enhancement over the redirect, not a replacement.
Example
Returns
TapSource
required
redirectTapSource() - priority 20. See
redirectTapSource.TapSource
required
webNfcTapSource() - priority 0. In-page scanning on Android Chrome, where
supported.manualTapSource with client.registerTapSource(...); it is not part of the default set.
