mergemilitary/Assets/Plugins/ToukaGames/ToponSDK/kuaishou/KSAdSDK.framework/Headers/KSFeedAd.h

45 lines
1.1 KiB
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// KSFeedAd.h
// KSAdSDK
//
// Created by xuzhijun on 2019/11/22.
//
#import <Foundation/Foundation.h>
#import "KSAd.h"
#import "KSAdInteractionType.h"
NS_ASSUME_NONNULL_BEGIN
@protocol KSFeedAdDelegate;
@interface KSFeedAd : KSAd
@property (nonatomic, readonly) UIView *feedView;
@property (nonatomic, weak) id<KSFeedAdDelegate> delegate;
- (void)updatePlayStatusWithPercent:(CGFloat)percent;
@end
@protocol KSFeedAdDelegate <NSObject>
@optional
/**
This method is called when feed ad show everytime. Please dont use for exposure count. Please use 'feedAdDidShow' for exposure count.
*/
- (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;
/**
This method is called when feed ad show. Each ad is called back only once
*/
- (void)feedAdDidShow:(KSFeedAd *)feedAd;
@end
NS_ASSUME_NONNULL_END