Ads iOS
LDAdInterstitial.h
1 #import <UIKit/UIKit.h>
2 
5 
9 typedef NSObject<LDAdInterstitialProtocol> LDAdInterstitial;
11 
15 @property (nonatomic, weak) id<LDAdInterstitialDelegate> delegate;
16 
22 - (void)loadAd;
23 
30 - (void)showFromViewController:(UIViewController *)controller animated:(BOOL) animated;
31 
37 - (void)dismissAnimated:(BOOL) animated;
38 @end
39 
40 @protocol LDAdInterstitialDelegate<NSObject>
41 @optional
42 
48 -(void) adInterstitialDidLoad:(LDAdInterstitial *) interstitial;
49 
56 -(void) adInterstitialDidFailLoad:(LDAdInterstitial *) interstitial withError:(NSError *) error;
57 
64 - (void)adInterstitialWillAppear:(LDAdInterstitial *)interstitial;
65 
72 - (void)adInterstitialWillDisappear:(LDAdInterstitial *)interstitial;
73 
79 - (void)adInterstitialDidCompleteRewardedVideo:(LDAdInterstitial *)interstitial withReward:(int)reward;
80 
81 @end
Definition: LDAdInterstitial.h:40
id< LDAdInterstitialDelegate > delegate
Definition: LDAdInterstitial.h:15
Definition: LDAdInterstitial.h:10