Barcode
interface Barcode
Barcode feature — submit a scanned member/facility barcode for check-in.
Your app captures the barcode (QR or 1D) with its own scanner UI and passes the decoded value here; the SDK records the scan against the member, tagging it with the scan location when coordinates are supplied.
Platform & threading
submitBarcodeId is
suspendand must be called from a coroutine.Errors surface as
Throwableand should be handled at the call site.
Offline behavior
Submissions flow through the SDK's offline outbox. When the network is unavailable the scan is queued and delivered later; in that case the returned AFResult has status = true and queued = true. Read AFResult.queued to tell "submitted online" from "queued for later delivery".