AlternativeBillingOnlyAvailabilityListener

public interface AlternativeBillingOnlyAvailabilityListener


Listener for the result of the BillingClient#isAlternativeBillingOnlyAvailableAsync API.

Summary

Public methods

abstract void

Called to receive the results from BillingClient#isAlternativeBillingOnlyAvailableAsync when it is finished.

Public methods

onAlternativeBillingOnlyAvailabilityResponse

abstract void onAlternativeBillingOnlyAvailabilityResponse(
    BillingResult billingResult
)

Called to receive the results from BillingClient#isAlternativeBillingOnlyAvailableAsync when it is finished.

Parameters
BillingResult billingResult

The billing result of the alternative billing only availability query. It will contain BillingClient.BillingResponseCode#OK if alternative billing only is available or an error response otherwise.