-
Notifications
You must be signed in to change notification settings - Fork 0
/
ALInterstitialAd.h
68 lines (56 loc) · 1.63 KB
/
ALInterstitialAd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//
// ALInterstitialAd.h
// sdk
//
// Created by Basil on 3/22/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ALSdk.h"
#import "ALAdService.h"
@interface ALInterstitialAd : UIView
@property (strong, atomic) id<ALAdLoadDelegate> adLoadDelegate;
@property (strong, atomic) id<ALAdDisplayDelegate> adDisplayDelegate;
/**
* Show current interstitial over a given window. This method will show an
* interstitial and load the next into it.
*
* @param window An instance of window to show the interstitial over.
*/
-(void) showOver:(UIWindow *)window;
/**
* Show current interstitial over a given window and render a specified ad.
*
* @param window An instance of window to show the interstitial over.
* @param ad The ALAd that you want to render into this interstitial.
*/
-(void) showOver:(UIWindow *)window andRender: (ALAd *) ad;
/**
* Dismiss current dialog
*/
- (void)dismiss;
/**
* Init this interstitial ad with a given AppLovin SDK
*
* @param sdk Instance of AppLovin SDK to use.
*/
-(id)initInterstitialAdWithSdk: (ALSdk *)anSdk;
/**
* Init this interstitial ad with given frame and AppLovin SDK
*
* @param frame Initial frame of the interstitial
* @param sdk Instance of AppLovin SDK to use.
*/
- (id)initWithFrame:(CGRect)frame sdk: (ALSdk *) anSdk;
/**
* Show a new interstitial ad. This method would display a dialog on top of current
* view with an advertisement in it.
*
* @param window A window to show the interstitial over
*/
+(ALInterstitialAd *) showOver:(UIWindow *)window;
/**
* Get shared interstitial view
*/
+(ALInterstitialAd *) shared;
@end