ALNativeAdService Class Reference
Inherits from | NSObject |
---|---|
Declared in | ALNativeAdService.h |
– loadNextAdAndNotify:
Load a native ad asynchronously.
- (void)loadNextAdAndNotify:(id<ALNativeAdLoadDelegate>)delegate
Parameters
delegate |
The native ad load delegate to notify upon completion. |
---|
Discussion
Load a native ad asynchronously.
Declared In
ALNativeAdService.h
– precacheResourcesForNativeAd:andNotify:
Pre-cache image and video resources of a native ad.
- (void)precacheResourcesForNativeAd:(ALNativeAd *)ad andNotify:(nullable 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