Implementation of Unity IAP for Beamable purchasing.
More...
Implementation of Unity IAP for Beamable purchasing.
◆ GetLocalizedPrice()
string Beamable.Purchasing.UnityBeamablePurchaser.GetLocalizedPrice |
( |
string |
skuSymbol | ) |
|
|
inline |
◆ Initialize()
◆ OnInitialized()
void Beamable.Purchasing.UnityBeamablePurchaser.OnInitialized |
( |
IStoreController |
controller, |
|
|
IExtensionProvider |
extensions |
|
) |
| |
|
inline |
React to successful Unity IAP initialization.
- Parameters
-
◆ OnPurchaseFailed()
void Beamable.Purchasing.UnityBeamablePurchaser.OnPurchaseFailed |
( |
Product |
product, |
|
|
PurchaseFailureReason |
failureReason |
|
) |
| |
|
inline |
Handle a purchase failure event from Unity IAP.
- Parameters
-
product | The product whose purchase was attempted |
failureReason | Information about why the purchase failed |
◆ ProcessPurchase()
PurchaseProcessingResult Beamable.Purchasing.UnityBeamablePurchaser.ProcessPurchase |
( |
PurchaseEventArgs |
args | ) |
|
|
inline |
Process a completed purchase by fulfilling it.
- Parameters
-
args | Purchase event information from Unity IAP |
- Returns
- Successful or failed result of processing this purchase
◆ StartPurchase()
Start a purchase for the given listing using the given SKU.
- Parameters
-
listingSymbol | Store listing that should be purchased. |
skuSymbol | Platform specific SKU of the item being purchased. |
- Returns
- Promise containing completed transaction.
Implements Beamable.Api.Payments.IBeamablePurchaser.
The documentation for this class was generated from the following file:
- com.beamable/Runtime/Modules/Purchasing/UnityBeamablePurchaser.cs