@interface ATNativeADCustomEvent : ATAdCustomEvent
/// Callback to the developer when ad loading is complete
/// @param assets - Native ad assets
- (void)trackNativeAdLoaded:(NSArray *)assets;
/// Callback to the developer when ad load fails
/// @param error - Error info
- (void)trackNativeAdLoadFailed:(NSError *)error;
- (void)didAttachMediaView;
- (void)invalidateUsedAdInfo;
- (void)willDetachOffer:(ATNativeADCache *)offer fromAdView:(ATNativeADView *)adView;
/// Callback to the developer when the ad is displayed
/// @param refresh - Whether the display is triggered by an ad refresh
- (void)trackNativeAdShow:(BOOL)refresh;
/// Callback to the developer when the ad is clicked
- (void)trackNativeAdClick;
- (void)trackNativeAdVideoStart;
- (void)trackNativeAdVideoEnd;
/// Callback to the developer when the ad is closed
- (void)trackNativeAdClosed;
- (void)trackNativeAdImpression;
- (void)trackNativeAdDeeplinkOrJumpResult:(BOOL)success;
// v5.7.47
- (void)trackNativeAdCloseDetail;
/// If YES is returned, when the "show" tracking point is sent, the "impression" tracking point will also be sent. Otherwise, it will not be sent. The same applies to Banner Ad (ATBannerCustomEvent.h).
- (BOOL)sendImpressionTrackingIfNeed;
/// Only applies to adx, onlineApi, myoffer, directOffer
- (NSTimeInterval)getNativeAdViewMonitoringShowTime;
- (BOOL)isAutoClickdSwitch;
- (CGFloat)popupReminderDuration;
- (CGFloat)autoClickdDuration;
- (id)getCustomOfferModel;
- (id)getCustomOfferSetting;
- (BOOL)isAllowMraidWebPreLoad;
- (BOOL)isMraidAd;
- (NSString *)getNativeAdViewOfferIdentifier;
- (void)sendMraidAdRenderSuccessEvent;
- (NSDictionary *)delegateExtra;
- (NSMutableDictionary *)delegateExtraWithNativeAD:(ATNativeADCache *)cache;
- (instancetype)initWithInfo:(NSDictionary *)serverInfo
localInfo:(NSDictionary *)localInfo;
- (ATNativeADSourceType)sourceType;
@property (atomic, copy) void(^requestCompletionBlock)(NSArray<NSDictionary *> * _Nullable assets, NSError * _Nullable error);
@property (nonatomic, weak) ATNativeADView *adView;
@property (nonatomic) NSInteger requestNumber;
/**
* Regardless of failure or success, the request is considered complete.
*/
@property(nonatomic) NSInteger numberOfFinishedRequests;
@property(nonatomic, readonly) NSMutableArray<NSDictionary *>* assets;
@end