GenerateQRActivity

public final class GenerateQRActivity extends AppCompatActivity

Activity to generate the QR code. The user can enter the details of the person and generate the QR code. ID - is a mandatory field

Constructors

Link copied to clipboard

Types

Link copied to clipboard
public class Companion

Properties

Link copied to clipboard
private <Error class: unknown class> binding

The binding for the activity

Link copied to clipboard
Link copied to clipboard
private final static String EXTRA_SESSION

The intent extra for the session

Link copied to clipboard

Whether a liveness check will be used before a SensePrint can be decrypted

Link copied to clipboard
private String name

The name field

Link copied to clipboard

The bytes for a PNG image of the QR code which will be returned by the SDK

Link copied to clipboard
private String recordId

The ID field

Link copied to clipboard

The session holder for the SDK session which allows a universal way to access the session

Functions

Link copied to clipboard

Create the clear text data from the fields

Link copied to clipboard

Create the metadata from the fields

Link copied to clipboard
private final Unit createSensePrint()

Create the SensePrint from the metadata

Link copied to clipboard
private final <Error class: unknown class> getBinding()

The binding for the activity

Link copied to clipboard
private final String getName()

The name field

Link copied to clipboard
private final ByteArray getQrImageBytes()

The bytes for a PNG image of the QR code which will be returned by the SDK

Link copied to clipboard
private final String getRecordId()

The ID field

Link copied to clipboard

The session holder for the SDK session which allows a universal way to access the session

Link copied to clipboard
private final Unit hideKeyboard(View view)

Hide the keyboard

Link copied to clipboard
private final Boolean isLivenessEnabled()

Whether a liveness check will be used before a SensePrint can be decrypted

Link copied to clipboard
private final Boolean isRequiredDataEmpty()

Check if required fields are empty

Link copied to clipboard
protected Unit onCreate(Bundle savedInstanceState)
Link copied to clipboard
protected Unit onDestroy()
Link copied to clipboard
protected Unit onResume()
Link copied to clipboard
private final Unit setBinding(<Error class: unknown class> binding)

The binding for the activity

Link copied to clipboard
private final Unit setLivenessEnabled(Boolean isLivenessEnabled)

Whether a liveness check will be used before a SensePrint can be decrypted

Link copied to clipboard
private final Unit setName(String name)

The name field

Link copied to clipboard
private final Unit setQrImageBytes(ByteArray qrImageBytes)

The bytes for a PNG image of the QR code which will be returned by the SDK

Link copied to clipboard
private final Unit setRecordId(String recordId)

The ID field

Link copied to clipboard
private final Unit setSessionHolder(SessionHolder sessionHolder)

The session holder for the SDK session which allows a universal way to access the session

Link copied to clipboard
private final Unit setUpComponents()

Initialize the UI components

Link copied to clipboard
private final Unit setUpGenderSpinner()

Set up the gender Spinner UI component

Link copied to clipboard
public final Unit setUpListeners()

Add listeners to the UI components

Link copied to clipboard
private final Unit showDatePicker(String fieldName)

Show the date picker dialog and set the date to the field

Link copied to clipboard
private final Unit showGeneralErrorDialog(SenseCryptSdkException error)

Show general error dialog

Link copied to clipboard

Show the dialog for multiple faces detected if the error is returned by the SDK (after calling the server)