13#import <UIKit/UIKit.h>
15NS_ASSUME_NONNULL_BEGIN
31 NSError *_Nullable error);
62 adLocation:(nullable NSString *)adLocation
74 adLocation:(nullable NSString *)adLocation
84+ (void)showOwnAdWithAdLocation:(nullable NSString *)adLocation
85 toAppliId:(nullable NSString *)appliId
86 creativeId:(nullable NSString *)creativeId;
96+ (void)showOwnAdWithAdLocation:(nullable NSString *)adLocation
98 toAppliId:(nullable NSString *)appliId
99 creativeId:(nullable NSString *)creativeId;
110+ (void)touchOwnAdWithAdLocation:(nullable NSString *)adLocation
111 toAppliId:(nullable NSString *)appliId
112 creativeId:(nullable NSString *)creativeId
113 requestCode:(nullable
id)requestCode
114 delegate:(nullable
id)delegate;
126+ (void)touchOwnAdWithAdLocation:(nullable NSString *)adLocation
128 toAppliId:(nullable NSString *)appliId
129 creativeId:(nullable NSString *)creativeId
130 requestCode:(nullable
id)requestCode
131 delegate:(nullable
id)delegate;
139+ (void)openAppListWithAdLocation:(nullable NSString *)adLocation delegate:(nullable
id)delegate;
148+ (void)openAppListWithAdLocation:(nullable NSString *)adLocation
149 requestCode:(nullable
id)requestCode
150 delegate:(nullable
id)delegate;
160 adLocation:(nullable NSString *)adLocation
161 delegate:(nullable
id)delegate;
172 adLocation:(nullable NSString *)adLocation
173 requestCode:(nullable
id)requestCode
174 delegate:(nullable
id)delegate;
186+ (void)openAdAreaWithParentView:(nullable UIView *)parentView
189 adLocation:(nullable NSString *)adLocation
190 verticalAlign:(
int)verticalAlign
191 delegate:(nullable
id)delegate;
204+ (void)openAdAreaWithParentView:(nullable UIView *)parentView
207 adLocation:(nullable NSString *)adLocation
208 verticalAlign:(
int)verticalAlign
209 requestCode:(nullable
id)requestCode
210 delegate:(nullable
id)delegate;
218+ (void)openInterstitialWithAdLocation:(nullable NSString *)adLocation
219 delegate:(nullable
id)delegate;
228+ (void)openInterstitialWithAdLocation:(nullable NSString *)adLocation
229 requestCode:(nullable
id)requestCode
230 delegate:(nullable
id)delegate;
238+ (void)openInterstitialMovieWithAdLocation:(nullable NSString *)adLocation
239 delegate:(nullable
id)delegate;
248+ (void)openInterstitialMovieWithAdLocation:(nullable NSString *)adLocation
249 requestCode:(nullable
id)requestCode
250 delegate:(nullable
id)delegate;
260+ (void)closeAdAreaWithParentView:(nullable UIView *)parentView;
268+ (void)setAdAreaVisibleWithParentView:(nullable UIView *)parentView flag:(BOOL)flag;
void(^ RecommendAdStatusCallback)(NSInteger status, NSError *_Nullable error)
Called with an advert status code and an optional error.
Definition RecommendNetwork.h:27
RecommendAdModel
The recommend advert models.
Definition RecommendNetwork.h:20
@ RecommendAdModelAppList
The companion-application list advert model.
Definition RecommendNetwork.h:21
@ RecommendAdModelOwnAd
The first-party (own) advert model.
Definition RecommendNetwork.h:23
@ RecommendAdModelInterstitial
The full-screen interstitial advert model.
Definition RecommendNetwork.h:22
void(^ RecommendAdDisplayStatusCallback)(NSDictionary *_Nullable status, NSError *_Nullable error)
Called with an advert display-status dictionary and an optional error.
Definition RecommendNetwork.h:30
The recommend network's public advert facade.
Definition RecommendNetwork.h:37
void closeAdScreen()
Closes the advert screen.
Definition RecommendNetwork.m:359