AFAdSDKIAPProperty Class Reference

Inherits from NSObject
Declared in AFAdSDKIAPProperty.h

Overview

In-App Purchase Ad Removal Prompte property class.

  title

String used in the title of the UIAlertView.

@property (readwrite, nonatomic, copy) NSString *title

Availability

2.4.0

Declared In

AFAdSDKIAPProperty.h

  message

String used in the message of the UIAlertView.

@property (readwrite, nonatomic, copy) NSString *message

Availability

2.4.0

Declared In

AFAdSDKIAPProperty.h

  cancelButtonTitle

String used in the “Cancel” button of the UIAlertView

@property (readwrite, nonatomic, copy) NSString *cancelButtonTitle

Availability

2.4.0

Declared In

AFAdSDKIAPProperty.h

  buyButtonTitle

String used in the “Buy” button of the UIAlertView. It is advised to add the price next the the “Buy” action. Example: “Buy ($0.99)”.

@property (readwrite, nonatomic, copy) NSString *buyButtonTitle

Availability

2.4.0

Declared In

AFAdSDKIAPProperty.h

  buyBlock

The block called after the user tapped on the “Buy” button.

@property (readwrite, nonatomic, copy) void ( ^ ) ( void ) buyBlock

Availability

2.4.0

Declared In

AFAdSDKIAPProperty.h

  shouldRemind

Boolean value whether the reminding mechanism should be used. Default is YES.

@property (readwrite, nonatomic, assign) BOOL shouldRemind

Availability

2.4.0

Declared In

AFAdSDKIAPProperty.h

  daysCountUntilFirstPrompt

Number of days until the first UIAlertView is displayed. If you want to disable this parameter and only consider the dismissCountUntil* parameter, just set this parameter to 0.

@property (readwrite, nonatomic, assign) NSUInteger daysCountUntilFirstPrompt

Availability

2.4.0

Discussion

Note: Default is 7.

Note: If the number of days is reached, the UIAlertView will only be displayed if the value of dismissCountUntilFirstPromptModal, dismissCountUntilFirstPromptSashimi or dismissCountUntilFirstPromptUdonNoodle is also reached.

Declared In

AFAdSDKIAPProperty.h

  daysCountBeforeReminding

Number of days before displaying the UIAlertView again after the user tapped on the “Cancel” button.

@property (readwrite, nonatomic, assign) NSUInteger daysCountBeforeReminding

Availability

2.4.0

Discussion

Note: This parameter is only taken into account if the parameter shouldRemind is set to YES. If you want to disable this parameter and only consider the dismissCountBefore* parameter, just set this parameter to 0.

Note: Default is 7.

Declared In

AFAdSDKIAPProperty.h

  dismissCountUntilFirstPromptModal

Number of times modal ads like Sushi or Uramaki are dismissed and after which the first UIAlertView should be displayed.

@property (readwrite, nonatomic, assign) NSUInteger dismissCountUntilFirstPromptModal

Availability

2.4.0

Discussion

Note: If the dismiss count is reached, the UIAlertView will only be displayed if the value of daysCountUntilFirstPrompt is also reached. If you want to disable this parameter and only consider the daysCountUntil* parameter, just set this parameter to 0.

Note: Default is 10.

Declared In

AFAdSDKIAPProperty.h

  dismissCountBeforeRemindingModal

Number of modal dismiss before displaying the UIAlertView again after the user tapped on the “Cancel” button.

@property (readwrite, nonatomic, assign) NSUInteger dismissCountBeforeRemindingModal

Availability

2.4.0

Discussion

Note: This parameter is only taken into account if the parameter shouldRemind is set to YES. If you want to disable this parameter and only consider the daysCountBeforeReminding parameter, just set this parameter to 0.

Note: Default is 10.

Declared In

AFAdSDKIAPProperty.h

  displayCountUntilFirstPromptSashimi

Number of Sashimi display after which first the UIAlertView should be displayed.

@property (readwrite, nonatomic, assign) NSUInteger displayCountUntilFirstPromptSashimi

Availability

2.4.0

Discussion

Note: If the display count is reached, the UIAlertView will only be displayed if the value of daysCountUntilFirstPrompt is also reached. If you want to disable this parameter and only consider the daysCountUntilFirstPrompt parameter, just set this parameter to 0.

Note: Default is 100.

Declared In

AFAdSDKIAPProperty.h

  displayCountBeforeRemindingSashimi

Number of Sashimi display before showing again the UIAlertView after the user tapped on the “Cancel” button.

@property (readwrite, nonatomic, assign) NSUInteger displayCountBeforeRemindingSashimi

Availability

2.4.0

Discussion

Note: If the display count is reached, the UIAlertView will only be displayed if the value of daysCountBeforeReminding is also reached. If you want to disable this parameter and only consider the daysCountBeforeReminding parameter, just set this parameter to 0.

Note: Default is 100.

Declared In

AFAdSDKIAPProperty.h

  dismissCountUntilFirstPromptUdonNoodle

Number of times Udon Noodle is dismissed and after which the first UIAlertView should be displayed.

@property (readwrite, nonatomic, assign) NSUInteger dismissCountUntilFirstPromptUdonNoodle

Availability

2.4.0

Discussion

Note: If the dismiss count is reached, the UIAlertView will only be displayed if the value of daysCountUntilFirstPrompt is also reached. If you want to disable this parameter and only consider the daysCountUntil* parameter, just set this parameter to 0.

Note: Default is 10.

Declared In

AFAdSDKIAPProperty.h

  dismissCountBeforeRemindingUdonNoodle

Number of Udon Noodle dismiss before displaying the UIAlertView again after the user tapped on the “Cancel” button.

@property (readwrite, nonatomic, assign) NSUInteger dismissCountBeforeRemindingUdonNoodle

Availability

2.4.0

Discussion

Note: This parameter is only taken into account if the parameter shouldRemind is set to YES. If you want to disable this parameter and only consider the daysCountBeforeReminding parameter, just set this parameter to 0.

Note: Default is 10.

Declared In

AFAdSDKIAPProperty.h

  displayCountUntilFirstPromptHimono

Number of Himono banner display after which first the UIAlertView should be displayed.

@property (readwrite, nonatomic, assign) NSUInteger displayCountUntilFirstPromptHimono

Availability

2.4.0

Discussion

Note: If the display count is reached, the UIAlertView will only be displayed if the value of daysCountUntilFirstPrompt is also reached. If you want to disable this parameter and only consider the daysCountUntilFirstPrompt parameter, just set this parameter to 0.

Note: Default is 100.

Declared In

AFAdSDKIAPProperty.h

  displayCountBeforeRemindingHimono

Number of Himono banner display before showing again the UIAlertView after the user tapped on the “Cancel” button.

@property (readwrite, nonatomic, assign) NSUInteger displayCountBeforeRemindingHimono

Availability

2.4.0

Discussion

Note: If the display count is reached, the UIAlertView will only be displayed if the value of daysCountBeforeReminding is also reached. If you want to disable this parameter and only consider the daysCountBeforeReminding parameter, just set this parameter to 0.

Note: Default is 100.

Declared In

AFAdSDKIAPProperty.h

+ propertyWithBlock:

AFAdSDKIAPProperty Property builder.

+ (instancetype)propertyWithBlock:(void ( ^ ) ( AFAdSDKIAPProperty *property ))block

Parameters

block

The block used to configure the property on creation.

Return Value

The newly created instance configured by block.

Availability

2.4.0

Discussion

Note: A newly created instance is only mutable in the scope of block. Once constructed, a property becomes immutable.

Declared In

AFAdSDKIAPProperty.h