AppsFlyerInAppPurchaseValidationCallback
总览
Implement the AppsFlyerInAppPurchaseValidationCallback
interface to handle purchase validation success and failure.
界面声明
interface AppsFlyerInAppPurchaseValidationCallback {
void onInAppPurchaseValidationFinished(validationResult: Map<String, Any?>)
void onInAppPurchaseValidationError(validationError: Map<String, Any?>)
}
方法
onInAppPurchaseValidationFinished
方法签名
void onInAppPurchaseValidationFinished(Map<String, Any?> validationResult)
描述
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
回调参数
类型 | 名称 | 描述 |
---|---|---|
Map<String, Any?> | validationFinishedResult | The validation result (success or failure). |
返回
void
onInAppPurchaseValidationError
方法签名
void onInAppPurchaseValidationError(Map<String, Any?> validationErrorResult)
描述
购买验证失败时触发。
回调参数
类型 | 名称 | 描述 |
---|---|---|
Map<String, Any?> | validationErrorResult | 验证过程中发生的错误类型。 |
返回
void
已更新 5 months ago