Ignite Tools
UASubscription Class Reference

List of all members.

Properties

Subscription Properties

---------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------

NSString * key
 The subscription key.
NSString * name
 The subscription name.
BOOL subscribed
 YES if the user subscribed, otherwise NO.

Products and Content

---------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------

NSMutableArray * products
 Array of all products available for this subscription, including promotional/default/extension subscriptions not for sale.
NSMutableArray * purchasedProducts
 Array of all products purchased by this user.
NSMutableArray * availableProducts
 Array of all products available for purchase on this subscription.
NSMutableArray * availableContents
 Array of all the content available to this user via their purchased products.
NSMutableArray * downloadedContents
 Array of all of the content that the user has downloaded.
NSMutableArray * undownloadedContents
 Array of all the content that the user has not yet downloaded.
(id) - initWithKey:name:
(void) - setProductsWithArray:
(void) - setPurchasedProductsWithArray:
(void) - setContentWithArray:
(void) - filterDownloadedContents

Property Documentation

- (NSMutableArray *) availableProducts [read, retain]

Array of all products available for purchase on this subscription.

This array only includes products currently for sale in the App Store and will not include "free"/default/extension products.

- (NSMutableArray *) downloadedContents [read, retain]

Array of all of the content that the user has downloaded.

- (NSMutableArray *) purchasedProducts [read, retain]

Array of all products purchased by this user.

Note that these products are _copies_ of the products available through the products property. Only these copies have the [UASubscriptionProduct purchased] flag set and valid [UASubscriptionProduct startDate] and [UASubscriptionProduct endDate] values.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Properties