AppsFlyerInAppPurchaseValidationCallback

Overview

Terapkan AppsFlyerInAppPurchaseValidationCallback antarmuka untuk menangani keberhasilan dan kegagalan validasi pembelian.

Deklarasi antarmuka

interface AppsFlyerInAppPurchaseValidationCallback {
    void onInAppPurchaseValidationFinished(validationResult: Map<String, Any?>)
    void onInAppPurchaseValidationError(validationError: Map<String, Any?>)
}

Metode

onInAppPurchaseValidationFinished

Signature metode

void onInAppPurchaseValidationFinished(Map<String, Any?> validationResult)

Deskripsi
Invoked when the in-app purchase validation is completed successfully, providing the validation result (success or failure) and a JSON object with the details of the validation success or failure. The object

Parameter panggilan balik

JenisNamaDeskripsi
Map<String, Any?>validationFinishedResultThe validation result (success or failure).

Kembali
void

onInAppPurchaseValidationError

Signature metode

void onInAppPurchaseValidationError(Map<String, Any?> validationErrorResult)

Deskripsi
Dipicu saat validasi pembelian gagal.

Parameter panggilan balik

JenisNamaDeskripsi
Map<String, Any?>validationErrorResultJenis kesalahan/error yang terjadi selama validasi.

Kembali
void