List of all members.
Member Function Documentation
- (void) inventoryUpdateFailedWithError: |
|
(NSError *) |
error |
[optional] |
Inventory update callback.
Called if an inventory update fails when retrieving purchase, product or contents information from UA or Apple. If the error occurs when requesting the inventory from Apple, the original StoreKit error will be passed as the parameter. If the error occurs when contacting UA, the error code will be an HTTP response code (or 0 if no response), the failure URL will be available in the userInfo dictionary using NSErrorFailingURLStringKey or NSURLErrorFailingURLStringErrorKey (4.0+) and the localizedDescription will be one of:
- UASubscriptionPurchaseInventoryFailure
- UASubscriptionContentInventoryFailure
- UASubscriptionProductInventoryFailure
- Parameters:
-
error | The StoreKit or UA error |
- (void) purchaseProductFailed: |
|
(UASubscriptionProduct *) |
product |
withError: |
|
(NSError *) |
error |
|
|
| [optional] |
This method is called if a StoreKit purchase fails.
The purchase may be retried.
- Parameters:
-
A product has been successfully purchased, including receipt verification.
- Parameters:
-
product | The purchased product |
This is called when a specific autorenewable receipt verification fails due to an invalid receipt or network issues.
A success message may still follow for other products.
- Parameters:
-
product | The product that failed during receipt verification. |
- (void) restoreAutorenewablesFailedWithError: |
|
(NSError *) |
error |
[optional] |
This method is called when a restore fails due to a StoreKit error, including cancellation.
- Parameters:
-
error | The StoreKit error passed back with the failed transaction. |
- (void) restoreAutorenewablesFinished: |
|
(NSArray *) |
productsRestored |
[optional] |
This method is called when a restore process completes without error.
- Parameters:
-
productsRestored | An array of the products for which receipts were found, nil if no autorenewables were found. |
- (void) subscriptionsUpdated: |
|
(NSArray *) |
subscriptions |
[optional] |
The subscription, subscription product and content inventory has been updated.
- Parameters:
-
subscriptions | The list of available subscriptions. |
- (void) userSubscriptionsUpdated: |
|
(NSArray *) |
subscriptions |
[optional] |
The user's subscription purchase list has been updated.
- Parameters:
-
subscriptions | The array of subscriptions for which the user has purchased products. |
The documentation for this protocol was generated from the following file: