cleanup

public static void cleanup(Context context)

Destroys the GiniCapture instance and frees up used resources.


public static synchronized void cleanup(@NonNull() Context context, @NonNull() String paymentRecipient, @NonNull() String paymentReference, @NonNull() String paymentPurpose, @NonNull() String iban, @NonNull() String bic, @NonNull() Amount amount)

Deprecated

Destroys the GiniCapture instance and frees up used resources.

Please provide the required transfer summary to improve the future extraction accuracy. Follow the recommendations below:

  • Provide values for all necessary fields, including those that were not extracted.
  • Provide the final data approved by the user (and not the initially extracted only).
  • Do cleanup after TAN verification.to clean up and provide the extraction values the user has used.

Deprecated

Use sendTransferSummary to provide the required transfer summary first (if the user has completed TAN verification) and then cleanup to let the SDK free up used resources.

Parameters

context

Android context

paymentRecipient

payment receiver

paymentReference

ID based on Client ID (Kundennummer) and invoice ID (Rechnungsnummer)

paymentPurpose

statement what this payment is for

iban

international bank account

bic

bank identification code

amount

accepts extracted amount and currency