Skip to Content

SladeID

com.sladeid.biometric.capture.SladeID — the single entry point. Construct one per app.

class SladeID(context: Context, config: SladeIDConfig)
  • context — any Context; the SDK retains the application context and derives the device identifier used for attribution.
  • config — see SladeIDConfig.

Methods

startReaderDiscovery(context = appContext): ReaderManager

Starts USB fingerprint-reader discovery and returns the ReaderManager whose readers flow emits connected, permissioned readers as they attach. Idempotent — repeated calls return the same manager.

val manager = sdk.startReaderDiscovery()

createFingerprintReaderSession(readerId, captureConfig = FingerprintReaderCaptureConfig()): FingerprintReaderSession

Creates a capture session bound to a connected reader.

  • readerId — a ReaderInfo.id from manager.readers.
  • captureConfig — see FingerprintReaderCaptureConfig.
  • Throws CaptureError if discovery hasn’t started or no reader with that id is connected.
val session = sdk.createFingerprintReaderSession(reader.id)

release()

Releases discovery: unregisters the USB receiver and closes reader handles. Call when the SDK is no longer needed.

Notes

  • The SDK makes outbound calls to the Slade ID service only — it never runs a local server.
  • A device identifier is derived and sent automatically for attribution; you never supply it.