QoreIDButton
The QoreIDButton
is used to launch the QoreID SDK.
Methods
params(QoreIDParams)
(Required)
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)
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)
setText(String)
Set the button text.
setTextColor(String)
setTextColor(String)
Set the text colour.
setButtonColor(Int)
setButtonColor(Int)
Set the background colour of the button.
onClick(Runnable)
onClick(Runnable)
Use this to process some custom logic before the SDK is launched.
Updated over 1 year ago