ExternalOfferAvailabilityListener

public interface ExternalOfferAvailabilityListener


Listener for the result of the BillingClient.isExternalOfferAvailableAsync API.

Summary

Public methods

abstract void

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

Public methods

onExternalOfferAvailabilityResponse

abstract void onExternalOfferAvailabilityResponse(BillingResult billingResult)

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

Parameters
BillingResult billingResult

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