Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val delegate: ActionDelegate
Link copied to clipboard
open override val viewFlow: Flow<ComponentViewType?>

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
open override fun canHandleAction(action: Action): Boolean

Checks if this component can handle the specific action type.

Link copied to clipboard
Link copied to clipboard
open override fun handleAction(action: Action, activity: Activity)

Provide the action from the API response that needs to be handled.

Link copied to clipboard
open override fun handleIntent(intent: Intent)

Call this method when receiving the return URL from the redirect with the result data. This result will be in the Intent.getData and begins with the returnUrl you specified on the payments/ call.

Link copied to clipboard
open override fun setOnRedirectListener(listener: () -> Unit)

Set a callback that will be called when a redirect is opened.