create

fun create(activity: ComponentActivity, callback: (CollectBankAccountResult) -> Unit): CollectBankAccountLauncher

Create a CollectBankAccountLauncher instance with ComponentActivity.

This API registers an ActivityResultLauncher into the ComponentActivity, it needs to be called before the ComponentActivity is created.


fun create(fragment: Fragment, callback: (CollectBankAccountResult) -> Unit): CollectBankAccountLauncher

Create a CollectBankAccountLauncher instance with Fragment.

This API registers an ActivityResultLauncher into the Fragment, it needs to be called before the Fragment is created.