Grabba Driver for Android
Unified driver for Grabba devices on the Android operating system
MRZ_API Class Reference

Description

Provides access to Grabba Machine-Readable Zone (MRZ) functionality.

This API provides access to MRZ scanner functions. Note, however, that MRZ reading is triggered by the scanner itself (not the driver), so this API is quite small.

Callbacks to user-provided code may be triggered in response to relevant events, e.g. successful read of an MRZ. Refer to the MRZ_Listener class for the details of these callbacks and how to enable them.

Calls to this class will not succeed until a connection to a Grabba device has been established. Refer to the CoreAPI class for details of how to establish or query this connection.

Thread safety: Everything in this class is fully thread-safe.

Note
This class has no non-static methods or data; consequently, object creation is disabled.

Static Public Member Functions

static boolean supported ()
 Query whether there is currently a connected Grabba device with MRZ scanner functionality. More...
 

Member Function Documentation

◆ supported()

static boolean supported ( )
static

Query whether there is currently a connected Grabba device with MRZ scanner functionality.

This is a non-blocking call; device capabilities are cached internally by the driver.

Returns
True if there is a connected Grabba device and that device supports MRZ functionality; false otherwise.