mergemilitary/Assets/Plugins/ToukaGames/ToponSDK/applovin/AppLovinSDK.framework/Headers/ALInterstitialAd.h

81 lines
2.3 KiB
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// ALInterstitialAd.h
//
// Copyright © 2020 AppLovin Corporation. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* This class displays full-screen ads to the user.
*/
@interface ALInterstitialAd : NSObject
#pragma mark - Ad Delegates
/**
* An object that conforms to the @c ALAdLoadDelegate protocol. If you provide a value for @c adLoadDelegate in your instance, the SDK will notify
* this delegate of ad load events.
*/
@property (nonatomic, strong, nullable) id<ALAdLoadDelegate> adLoadDelegate;
/**
* An object that conforms to the @c ALAdDisplayDelegate protocol. If you provide a value for @c adDisplayDelegate in your instance, the SDK will
* notify this delegate of ad show/hide events.
*/
@property (nonatomic, strong, nullable) id<ALAdDisplayDelegate> adDisplayDelegate;
/**
* An object that conforms to the @c ALAdVideoPlaybackDelegate protocol. If you provide a value for @c adVideoPlaybackDelegate in your instance,
* the SDK will notify this delegate of video start/finish events.
*/
@property (nonatomic, strong, nullable) id<ALAdVideoPlaybackDelegate> adVideoPlaybackDelegate;
#pragma mark - Loading and Showing Ads, Class Methods
/**
* Shows an interstitial over the applications key window. This loads the next interstitial and displays it.
*/
+ (instancetype)show;
/**
* Gets a reference to the shared singleton instance.
*
* This method calls @code +[ALSdk shared] @endcode which requires that you have an SDK key defined in @code Info.plist @endcode.
*
* @warning If you use @code +[ALSdk sharedWithKey:] @endcode then you will need to use the instance methods instead.
*/
+ (instancetype)shared;
#pragma mark - Loading and Showing Ads, Instance Methods
/**
* Shows an interstitial over the applications key window. This loads the next interstitial and displays it.
*/
- (void)show;
/**
* Shows the current interstitial over a given window and renders a specified ad loaded by @c ALAdService.
*
* @param ad The ad to render into this interstitial.
*/
- (void)showAd:(ALAd *)ad;
#pragma mark - Initialization
/**
* Initializes an instance of this class with an SDK instance.
*
* @param sdk The AppLovin SDK instance to use.
*/
- (instancetype)initWithSdk:(ALSdk *)sdk;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END