ALNativeAdService Class Reference
Inherits from | NSObject |
---|---|
Declared in | ALNativeAdService.h |
– loadNativeAdGroupOfCount:andNotify:
Load a batch of native ads, which are guaranteed not to repeat, asynchronously.
- (void)loadNativeAdGroupOfCount:(NSUInteger)numberOfAdsToLoad andNotify:(alnullable id<ALNativeAdLoadDelegate>)delegate
Parameters
delegate |
The native ad load delegate to notify upon completion. |
---|
Discussion
Load a batch of native ads, which are guaranteed not to repeat, asynchronously.
Declared In
ALNativeAdService.h
– precacheResourcesForNativeAd:andNotify:
Pre-cache image and video resources of a native ad.
- (void)precacheResourcesForNativeAd:(alnonnull ALNativeAd *)ad andNotify:(alnullable id<ALNativeAdPrecacheDelegate>)delegate
Parameters
ad |
The native ad whose resources should be cached. |
---|---|
delegate |
The delegate to be notified upon completion. |
Discussion
Pre-cache image and video resources of a native ad.
Declared In
ALNativeAdService.h