InApps iOS
Instance Methods
<LDInAppPurchaseObserver> Protocol Reference

Instance Methods

(void) - inAppService:didStartPurchase:
 
(void) - inAppService:didFailPurchase:withError:
 
(void) - inAppService:didCompletePurchase:
 

Method Documentation

- (void) inAppService: (LDInAppService *)  service
didCompletePurchase: (LDInAppPurchase *)  purchase 
optional

Triggered when a purchase has finished successfully.

Parameters
serviceThe service.
purchaseThe purchase.
- (void) inAppService: (LDInAppService *)  service
didFailPurchase: (NSString *)  productId
withError: (NSError *)  error 
optional

Triggered when a purchase has failed.

Parameters
serviceThe service.
productIdThe product id.
errorThe reported error.
- (void) inAppService: (LDInAppService *)  service
didStartPurchase: (NSString *)  productId 
optional

Triggered when a purchase has started.

Parameters
serviceThe service.
productIdThe id of the product purchased.

The documentation for this protocol was generated from the following file: