create

fun create(from: Fragment, callback: (ProcessOutResult<POAlternativePaymentMethodResponse>) -> Unit): <Error class: unknown class>

Creates the launcher from Fragment. When launcher created with this function use launch(request, returnUrl) or launch(uri, returnUrl). Note: Required to call in onCreate() to register for activity result.


fun create(from: ComponentActivity, callback: (ProcessOutResult<POAlternativePaymentMethodResponse>) -> Unit): <Error class: unknown class>

Creates the launcher from Activity. When launcher created with this function use launch(request, returnUrl) or launch(uri, returnUrl). Note: Required to call in onCreate() to register for activity result.


fun create(from: Fragment): <Error class: unknown class>

Deprecated

Use function create(from, callback)

Replace with

create(from, callback)

Creates the launcher from Fragment. Note: Required to call in onCreate() to register for activity result.


fun create(from: ComponentActivity): <Error class: unknown class>

Deprecated

Use function create(from, callback)

Replace with

create(from, callback)

Creates the launcher from Activity. Note: Required to call in onCreate() to register for activity result.