ALInterstitialAd Class Reference
Inherits from | NSObject |
---|---|
Declared in | ALInterstitialAd.h |
adLoadDelegate
An object conforming to the ALAdLoadDelegate protocol, which, if set, will be notified of ad load events.
@property (nonatomic, strong, nullable) id<ALAdLoadDelegate> adLoadDelegate
Discussion
An object conforming to the ALAdLoadDelegate protocol, which, if set, will be notified of ad load events.
Declared In
ALInterstitialAd.h
adDisplayDelegate
An object conforming to the ALAdDisplayDelegate protocol, which, if set, will be notified of ad show/hide events.
@property (nonatomic, strong, nullable) id<ALAdDisplayDelegate> adDisplayDelegate
Discussion
An object conforming to the ALAdDisplayDelegate protocol, which, if set, will be notified of ad show/hide events.
Declared In
ALInterstitialAd.h
adVideoPlaybackDelegate
An object conforming to the ALAdVideoPlaybackDelegate protocol, which, if set, will be notified of video start/finish events.
@property (nonatomic, strong, nullable) id<ALAdVideoPlaybackDelegate> adVideoPlaybackDelegate
Discussion
An object conforming to the ALAdVideoPlaybackDelegate protocol, which, if set, will be notified of video start/finish events.
Declared In
ALInterstitialAd.h
+ show
Show an interstitial over the application’s key window. This will load the next interstitial and display it.
+ (instancetype)show
Discussion
Show an interstitial over the application’s key window. This will load the next interstitial and display it.
Declared In
ALInterstitialAd.h
+ shared
Get a reference to the shared singleton instance.
+ (instancetype)shared
Discussion
Get a reference to the shared singleton instance.
This method calls [ALSdk shared] which requires you to have an SDK key defined in Info.plist
.
If you use [ALSdk sharedWithKey: …]
then you will need to use the instance methods instead.
Declared In
ALInterstitialAd.h
– show
Show an interstitial over the application’s key window. This will load the next interstitial and display it.
- (void)show
Discussion
Show an interstitial over the application’s key window. This will load the next interstitial and display it.
Declared In
ALInterstitialAd.h
– showAd:
Show current interstitial over a given window and render a specified ad loaded by ALAdService.
- (void)showAd:(ALAd *)ad
Parameters
ad |
The ad to render into this interstitial. |
---|
Discussion
Show current interstitial over a given window and render a specified ad loaded by ALAdService.
Declared In
ALInterstitialAd.h
– initWithSdk:
Initialize an instance of this class with a SDK instance.
- (instancetype)initWithSdk:(ALSdk *)sdk
Parameters
sdk |
The AppLovin SDK instance to use. |
---|
Discussion
Initialize an instance of this class with a SDK instance.
Declared In
ALInterstitialAd.h