create
fun create(activity: ComponentActivity, callback: FinancialConnectionsSheetResultCallback): FinancialConnectionsSheet
Constructor to be used when launching the FinancialConnectionsSheet from an Activity.
Parameters
activity
the Activity that is presenting the FinancialConnectionsSheet.
callback
called with the result of the connections session after the connections sheet is dismissed.
fun create(fragment: Fragment, callback: FinancialConnectionsSheetResultCallback): FinancialConnectionsSheet
Constructor to be used when launching the payment sheet from a Fragment.
Parameters
fragment
the Fragment that is presenting the payment sheet.
callback
called with the result of the payment after the payment sheet is dismissed.