SladeID
com.sladeid.biometric.capture.SladeID — the single entry point. Construct one per app.
class SladeID(context: Context, config: SladeIDConfig)context— anyContext; the SDK retains the application context and derives the device identifier used for attribution.config— seeSladeIDConfig.
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— aReaderInfo.idfrommanager.readers.captureConfig— seeFingerprintReaderCaptureConfig.- Throws
CaptureErrorif 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.