AdobeUXInAppPurchase Class Reference
| Inherits from | NSObject |
| Declared in | AdobeUXInAppPurchase.h |
Overview
This class provides a way to prompt the user to upgrade their Creative Cloud subscription via the current application.
Instance Methods
checkUpgradeAvailability:
Checks whether the currently authenticated user is eligible for storage upgrade.
- (void)checkUpgradeAvailability:(void ( ^ ) ( BOOL upgradeAvailable ))completionParameters
- completion
A completion block that indicates whether or not a storage upgrade is available. This block is called from the application’s main thread.
Discussion
Checks whether the currently authenticated user is eligible for storage upgrade.
Note: upgradeAvailable will be NO in the event that the user is offline or the server is unreachable.
Declared In
AdobeUXInAppPurchase.hhandleOpenURL:fromApplication:withCompletion:
Called in the current UIApplicationDelegate’s -application:openURL:sourceApplication:annotation: method This method provides storage upgrade success or failure information to your application.
- (BOOL)handleOpenURL:(NSURL *)url fromApplication:(NSString *)sourceApplication withCompletion:(AdobeUXInAppPurchaseBlock)completionParameters
- url
The @c NSURL that was passed as the URL parameter of -application:openURL:sourceApplication:annotation:
- sourceApplication
The @c NSString that was passed as the sourceApplication parameter of -application:openURL:sourceApplication:annotation:
- completion
A completion block of type AdobeUXInAppPurchaseBlock that is called upon success or failure.
Return Value
Returns YES if the URL can be handled by the receiver, otherwise returns NO.
Discussion
Called in the current UIApplicationDelegate’s -application:openURL:sourceApplication:annotation: method This method provides storage upgrade success or failure information to your application.
Declared In
AdobeUXInAppPurchase.hopenURL:completion:
Called in the current UIApplicationDelegate’s -application:openURL:options: method This method provides storage upgrade success or failure information to your application.
- (BOOL)openURL:(NSURL *)url completion:(AdobeUXInAppPurchaseBlock)completionParameters
- url
The @c NSURL that was passed as the URL parameter of -application:openURL:options:
- completion
A completion block of type AdobeUXInAppPurchaseBlock that is called upon success or failure.
Return Value
Returns YES if the URL can be handled by the receiver, otherwise returns NO.
Discussion
Called in the current UIApplicationDelegate’s -application:openURL:options: method This method provides storage upgrade success or failure information to your application.
Declared In
AdobeUXInAppPurchase.hperformStorageUpgrade
Initiates a storage upgrade. If the user has the Creative Cloud Application installed, it will be opened; if not, the user will be presented with the Creative Cloud’s application page in a popover (iPad) or modal (iPhone/iPod) view controller.
- (BOOL)performStorageUpgradeReturn Value
Returns YES in the event that either the Creative Cloud Application was opened or its App Store page was presented. Returns NO if the App Store page cannot be loaded.
Discussion
Initiates a storage upgrade. If the user has the Creative Cloud Application installed, it will be opened; if not, the user will be presented with the Creative Cloud’s application page in a popover (iPad) or modal (iPhone/iPod) view controller.
Declared In
AdobeUXInAppPurchase.h