Skip to main content

Ready to market your stellar app?

Samsung Developer Program is your gateway to app monetization success.

Learn More

Samsung Developer Program

Callback Details

billingSupportedEvent

public static event Action billingSupportedEvent

Successful init callback; billing is supported on the current platform.

This event is fired when the billing is supported.

billingNotSupportedEvent

public static event Action<string> billingNotSupportedEvent

Failed init callback; billing is NOT supported on current platform.        

This event is fired when the billing is not supported.

queryInventorySucceededEvent

public static event Action<Inventory> queryInventorySucceededEvent

Successful QueryInventory callback. This event is fired when the query inventory succeeded.

Returns:

Purchase history and app store listings are returned.

queryInventoryFailedEvent

public static event Action<string> queryInventoryFailedEvent

Failed QueryInventory callback

This event is fired when the query inventory failed.                                                      

purchaseSucceededEvent

public static event Action<Purchase> purchaseSucceededEvent

Successful purchase callback

This event is fired when the purchase of a product or subscription succeeded.                 

purchaseFailedEvent

public static event Action<int, string> purchaseFailedEvent

Failed purchase callback

This event is fired when the purchase of a product or subscription failed.    

consumePurchaseSucceededEvent

public static event Action<Purchase> consumePurchaseSucceededEvent

Successful consume attempt callback

This event is fired after the purchase product is consumed or is used.

consumePurchaseFailedEvent

public static event Action<string> consumePurchaseFailedEvent

Failed consume attempt callback

This event is fired after the purchase product is failed to be consumed or is used.

transactionRestoredEvent

public static event Action<string> transactionRestoredEvent

Successful transaction restoration callback. This event is fired when a transaction is restored.

NOTE: This API method is supported by OpenIAB but currently is NOT supported by Android™ OS.

restoreFailedEvent

public static event Action<string> restoreFailedEvent

Failed transaction restoration callback

This event is fired when a transaction restoration process failed.

restoreSucceededEvent

public static event Action  restoreSucceededEvent

Successful transaction restoration callback

This event is fired when a transaction restoration process succeeded. 


  • Was this article helpful?