| 1234567891011121314151617181920212223242526272829303132333435363738394041 | ////  ALAdLoadDelegate.h//  AppLovinSDK////  Created by Basil on 3/23/12.//  Copyright © 2020 AppLovin Corporation. All rights reserved.//@class ALAd;@class ALAdService;NS_ASSUME_NONNULL_BEGIN/** * This protocol defines a listener for ad load events. */@protocol ALAdLoadDelegate <NSObject>/** * The SDK invokes this method when an ad is loaded by the AdService. * * The SDK invokes this method on the main UI thread. * * @param adService AdService that loaded the ad. * @param ad        Ad that was loaded. */- (void)adService:(ALAdService *)adService didLoadAd:(ALAd *)ad;/** * The SDK invokes this method when an ad load fails. * * The SDK invokes this method on the main UI thread. * * @param adService AdService that failed to load an ad. * @param code      An error code that corresponds to one of the constants defined in ALErrorCodes.h. */- (void)adService:(ALAdService *)adService didFailToLoadAdWithError:(int)code;@endNS_ASSUME_NONNULL_END
 |