AlternativeBillingOnlyReportingDetailsListener

public interface AlternativeBillingOnlyReportingDetailsListener

com.android.billingclient.api.AlternativeBillingOnlyReportingDetailsListener


Listener for the result of the BillingClient.createAlternativeBillingOnlyReportingDetailsAsync(AlternativeBillingOnlyReportingDetailsListener) API.

Summary

Public methods

abstract void onAlternativeBillingOnlyTokenResponse(BillingResult billingResult, AlternativeBillingOnlyReportingDetails alternativeBillingOnlyReportingDetails)

Called to receive the results from BillingClient.createAlternativeBillingOnlyReportingDetailsAsync(AlternativeBillingOnlyReportingDetailsListener) when it is finished.

Public methods

onAlternativeBillingOnlyTokenResponse

public abstract void onAlternativeBillingOnlyTokenResponse (BillingResult billingResult, 
                AlternativeBillingOnlyReportingDetails alternativeBillingOnlyReportingDetails)

Called to receive the results from BillingClient.createAlternativeBillingOnlyReportingDetailsAsync(AlternativeBillingOnlyReportingDetailsListener) when it is finished.

Parameters
billingResult BillingResult: The billing result of the alternative billing only reporting details creation flow.

alternativeBillingOnlyReportingDetails AlternativeBillingOnlyReportingDetails: The alternative billing only purchase details which may be used for reporting. This is null when billingResult response code is not BillingClient.BillingResponseCode.OK.