Metadata
What is Metadata?
Metadata is any added information that you would like Simprints ID to capture alongside the biometrics. It is really helpful to capture metadata collecting important metrics for your project. The metadata is stored as a JSON string of key-value pairs, and Simprints ID's Metadata class only supports values of Double, Long, Boolean, and String.
Using Metadata
To create the metadata you intend to use for your app, you can create an Instance of the Metadata class and pass your key-value pairs using the put method:
Invalid JSON object
The Metadata class will throw an exception for two reason:
The JSON String is not a valid JSON object
The JSON object contains parameters that are invalid for Simprints, such as a dictionary or array.
Last updated