mergemilitary/Assets/Plugins/ToukaGames/ToponSDK/baidu/BaiduMobAdSDK.framework/Headers/BaiduMobAdNativeAdView.h

160 lines
3.7 KiB
C
Raw Normal View History

//
// BaiduMobAdNativeAdView.h
// BaiduMobAdSdk
//
// Created by lishan04 on 15-1-6.
//
//
#import <UIKit/UIKit.h>
#import "BaiduMobAdCommonConfig.h"
@class BaiduMobAdNativeVideoBaseView;
@class BaiduMobAdNativeAdObject;
@class BaiduMobAdNativeWebView;
@class BaiduMobAdActButton;
@interface BaiduMobAdNativeAdView : UIView
/**
*
*/
@property (strong, nonatomic) UIImageView *iconImageView;
/**
*
*/
@property (strong, nonatomic) UIImageView *mainImageView;
/**
*/
@property (strong, nonatomic) NSMutableArray *morePicsArray;
/**
* 广
*/
@property (strong, nonatomic) UIImageView *adLogoImageView;
/**
* 广logo
*/
@property (strong, nonatomic) UIImageView *baiduLogoImageView;
/**
* view
*/
@property (strong, nonatomic) UILabel *titleLabel;
/**
* view
*/
@property (strong, nonatomic) UILabel *textLabel;
/**
* view
*/
@property (strong, nonatomic) UILabel *brandLabel;
/**
*
*/
@property (strong, nonatomic) BaiduMobAdActButton *actButton;
/**
* view
*/
@property (strong, nonatomic) BaiduMobAdNativeVideoBaseView *videoView;
/**
* web view
*/
@property (strong, nonatomic) BaiduMobAdNativeWebView *webView;
/**
* vc,
*/
@property (nonatomic, weak) UIViewController *presentAdViewController;
/**
* 广
*/
@property (nonatomic, strong, readonly) BaiduMobAdNativeAdObject *object;
/**
MaterialType是NORMAL的初始化方法
@param frame
@param brandLabel
@param titleLabel
@param textLabel
@param iconView
@param mainView
@return
*/
- (instancetype)initWithFrame:(CGRect)frame
brandName:(UILabel *)brandLabel
title:(UILabel *)titleLabel
text:(UILabel *)textLabel
icon:(UIImageView *)iconView
mainImage:(UIImageView *)mainView;
/**
* MaterialType是NORMAL的初始化方法
*/
- (instancetype)initWithFrame:(CGRect)frame
brandName:(UILabel *)brandLabel
title:(UILabel *)titleLabel
text:(UILabel *)textLabel
icon:(UIImageView *)iconView
mainImage:(UIImageView *)mainView
morepics:(NSMutableArray *)imageViewArray;
/**
*
* 使SDK的BaiduMobAdNativeVideoView视频组件view传入
*/
- (instancetype)initWithFrame:(CGRect)frame
brandName:(UILabel *)brandLabel
title:(UILabel *)titleLabel
text:(UILabel *)textLabel
icon:(UIImageView *)iconView
videoView:(BaiduMobAdNativeVideoBaseView *)videoView;
- (instancetype)initWithFrame:(CGRect)frame
brandName:(UILabel *)brandLabel
title:(UILabel *)titleLabel
text:(UILabel *)textLabel
icon:(UIImageView *)iconView
mainImage:(UIImageView *)mainView
videoView:(BaiduMobAdNativeVideoBaseView *)videoView;
/**
*
*/
- (instancetype)initWithFrame:(CGRect)frame
webview:(BaiduMobAdNativeWebView *) webView;
/**
* 广
*/
- (void)loadAndDisplayNativeAdWithObject:(BaiduMobAdNativeAdObject *)object completion:(BaiduMobAdViewCompletionBlock)completionBlock;
/**
*/
- (void)trackImpression;
/**
WiFi自动播放场景下生效
@return YES正常播放 NO未播放
*/
- (BOOL)render;
/**
@param deal YES需开发者手动添加点击事件 NOSDK管理点击事件
*/
+ (void)dealTapGesture:(BOOL) deal;
@end