# Print output for @column tags ?> AlternativeBillingOnlyAvailabilityListener {% setvar book_path %}/reference/com/android/billingclient/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

AlternativeBillingOnlyAvailabilityListener

public interface AlternativeBillingOnlyAvailabilityListener

com.android.billingclient.api.AlternativeBillingOnlyAvailabilityListener


Listener for the result of the BillingClient.isAlternativeBillingOnlyAvailableAsync(AlternativeBillingOnlyAvailabilityListener) API.

Summary

Public methods

abstract void onAlternativeBillingOnlyAvailabilityResponse(BillingResult billingResult)

Called to receive the results from BillingClient.isAlternativeBillingOnlyAvailableAsync(AlternativeBillingOnlyAvailabilityListener) when it is finished.

Public methods

onAlternativeBillingOnlyAvailabilityResponse

public abstract void onAlternativeBillingOnlyAvailabilityResponse (BillingResult billingResult)

Called to receive the results from BillingClient.isAlternativeBillingOnlyAvailableAsync(AlternativeBillingOnlyAvailabilityListener) 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.