| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 | ////  MAAdapterParameters.h//  AppLovinSDK////  Created by Thomas So on 8/27/18.//#import <UIKit/UIKit.h>NS_ASSUME_NONNULL_BEGIN/** * This protocol defines basic parameters passed to all adapter events. */@protocol MAAdapterParameters <NSObject>/** * ********************* * AVAILABLE IN v11.0.0+ * ********************* * <p> * The MAX Ad Unit ID the adapter operation with these parameters are being performed for. * * @return The MAX Ad Unit ID to perform the adapter operation for. Guaranteed not to be null. */@property (nonatomic, copy, readonly) NSString *adUnitIdentifier;/** * ********************* * AVAILABLE IN v11.0.0+ * ********************* * <p> * Local extra parameters to passed in from the integration code. * * @return Local extra parameters. Guaranteed not to be @c nil. */@property (nonatomic, strong, readonly) NSDictionary<NSString *, id> *localExtraParameters;/** * Get parameters passed from AppLovin server to the current adapter. * * @return Server parameters. Guaranteed not to be nil. */@property (nonatomic, strong, readonly) NSDictionary<NSString *, id> *serverParameters;/** * ********************* * AVAILABLE IN v11.1.1+ * ********************* * <p> * Get custom parameters passed from AppLovin server to the current custom network SDK adapter. * * @return Custom parameters. Guaranteed not to be @c nil. */@property (nonatomic, strong, readonly) NSDictionary<NSString *, id> *customParameters;/** * Current state of user consent. * * @return @c 1 if the user has provided consent for information sharing. @c nil if not set. */@property (nonatomic, strong, readonly, nullable, getter=hasUserConsent) NSNumber *userConsent;/** * Current state of user age restrictions. * * @return @c 1 if the user is age restricted (i.e. under 16). @c nil if not set. */@property (nonatomic, strong, readonly, nullable, getter=isAgeRestrictedUser) NSNumber *ageRestrictedUser;/** * Current state of whether ot not the user has opted out of the sale of their personal information. * * @return @c 1 if the user has opted out of the sale of their personal information. @c nil if not set. */@property (nonatomic, strong, readonly, nullable, getter=isDoNotSell) NSNumber *doNotSell;/** * ********************* * AVAILABLE IN v11.4.2+ * ********************* * <p> * The consent string to pass to networks that do not support a binary consent API (i.e. networks that use TCF-only) and do not automatically ingest the string from User Defaults. */@property (nonatomic, copy, readonly, nullable) NSString *consentString;/** * Check if this request is made for testing. * * @return @c YES if the ads should be retrieved for testing. */@property (nonatomic, assign, readonly, getter=isTesting) BOOL testing;/** * @return The view controller to present the fullscreen ad with. */@property (nonatomic, weak, readonly, nullable) UIViewController *presentingViewController;@endNS_ASSUME_NONNULL_END
 |