QoreIDButton

The QoreIDButton is used to launch the QoreID SDK.

Methods

params(QoreIDParams) (Required)

Use this to pass relevant data needed to launch the SDK for this specific use case. For more details about the QoreIDParams object, click here.

registerForResult(ActivityResultLauncher)

Provide an ActivityResultLauncher to register your app to receive result from the QoreID SDK. Calling this is optional. If this method is not called, it is assumed that onActivityResult is implemented in the calling activity.

setText(String)

Set the button text.

setTextColor(String)

Set the text colour.

setButtonColor(Int)

Set the background colour of the button.

onClick(Runnable)

Use this to process some custom logic before the SDK is launched.


What’s Next

Find out more about the QoreIDParams object