KSFeedAd.h 804 Bytes
//
//  KSFeedAd.h
//  KSAdSDK
//
//  Created by xuzhijun on 2019/11/22.
//

#import <Foundation/Foundation.h>
#import "KSAd.h"
NS_ASSUME_NONNULL_BEGIN

@protocol KSFeedAdDelegate;

@interface KSFeedAd : KSAd

@property (nonatomic, readonly) UIView *feedView;

@property (nonatomic, weak) id<KSFeedAdDelegate> delegate;

- (void)setVideoSoundEnable:(BOOL)enable;


@end

@protocol KSFeedAdDelegate <NSObject>
@optional
- (void)feedAdViewWillShow:(KSFeedAd *)feedAd;
- (void)feedAdDidClick:(KSFeedAd *)feedAd;
- (void)feedAdDislike:(KSFeedAd *)feedAd;
- (void)feedAdDidShowOtherController:(KSFeedAd *)nativeAd interactionType:(KSAdInteractionType)interactionType;
- (void)feedAdDidCloseOtherController:(KSFeedAd *)nativeAd interactionType:(KSAdInteractionType)interactionType;

@end

NS_ASSUME_NONNULL_END