InAppPurchaseListener

public interface InAppPurchaseListener

A listener interface for In-App Purchase triggered by ads. The ad can trigger an In-App Purchase with an InAppPurchase containing product id(SKU). The application then decides how to conduct the purchase.

Public Method Summary

abstract void
onInAppPurchaseRequested(InAppPurchase inAppPurchase)
Called when the user clicks an In-App purchase ad.

Public Methods

public abstract void onInAppPurchaseRequested (InAppPurchase inAppPurchase)

Called when the user clicks an In-App purchase ad. The publisher is responsible for starting an In-App purchase flow, and calling recordResolution(int) or recordPlayBillingResolution(int) when the In-App purchase flow is completed to report the resolution.

Parameters
inAppPurchase The InAppPurchase containing the information about the purchase.

Send feedback about...

Need help? Visit our support page.