ThreeDSecureLauncher

constructor(fragment: Fragment, callback: ThreeDSecureLauncherCallback)

Used to launch the 3DS authentication flow to tokenize a 3DS card. This class must be instantiated after the Fragment's view has been created (i.e., in onCreateView or onViewCreated) and before the Fragment reaches the STARTED state.

Parameters

fragment

an Android Fragment from which you will launch the 3DS flow

callback

a ThreeDSecureLauncherCallback to received the result of the 3DS authentication flow


constructor(activity: ComponentActivity, callback: ThreeDSecureLauncherCallback)

Used to launch the 3DS authentication flow to tokenize a 3DS card. This class must be instantiated before your Activity is created.

Parameters

activity

an Android Activity from which you will launch the 3DS flow

callback

a ThreeDSecureLauncherCallback to received the result of the 3DS authentication flow


constructor(fragment: Fragment, resultKey: String, callback: ThreeDSecureLauncherCallback)

Used to launch the 3DS authentication flow to tokenize a 3DS card, using a custom result key. This class must be instantiated after the Fragment's view has been created (i.e., in onCreateView or onViewCreated) and before the Fragment reaches the STARTED state.

Parameters

fragment

an Android Fragment from which you will launch the 3DS flow

resultKey

a unique key identifying this launcher's Activity result. Must be unique per live launcher instance in the same Activity, and stable across process death.

callback

a ThreeDSecureLauncherCallback to receive the result of the 3DS authentication flow


constructor(activity: ComponentActivity, resultKey: String, callback: ThreeDSecureLauncherCallback)

Used to launch the 3DS authentication flow to tokenize a 3DS card, using a custom result key. This class must be instantiated before your Activity is created.

Parameters

activity

an Android Activity from which you will launch the 3DS flow

resultKey

a unique key identifying this launcher's Activity result. Must be unique per live launcher instance in the same Activity, and stable across process death.

callback

a ThreeDSecureLauncherCallback to receive the result of the 3DS authentication flow