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

72 lines
1.3 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.

//
// BaiduMobAdExpressNativeView.h
// BaiduMobAdSDK
//
// Created by baoshiwei on 2022/1/4.
// Copyright © 2022 Baidu Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface BaiduMobAdExpressNativeView : UIView
/**
* 信息流广告容器宽度默认屏幕宽。需要在render前配置
*/
@property (nonatomic, assign) CGFloat width;
/**
* 信息流广告容器高,render成功回调后生效。
*/
@property (nonatomic, assign) CGFloat height;
/**
* 是否渲染完毕
*/
@property (nonatomic, assign, readonly) BOOL isReady;
/**
* 设置组件的当前ViewController以打开落地页等必选。
*/
@property (nonatomic, weak) UIViewController *baseViewController;
/**
* 渲染模板
*/
- (void)render;
/**
* 发送展现
*/
- (void)trackImpression;
/**
* 广告价格标签
*/
- (NSString *)getECPMLevel;
/**
* 反馈竞价成功及二价
* @param secondPrice 第二价格
*/
- (void)biddingSuccess:(NSString *)secondPrice;
/**
* 反馈竞价失败及原因
* @param reason 失败原因
*/
- (void)biddingFail:(NSString *)reason;
/**
* 是否过期默认为false30分钟后过期需要重新请求广告
*/
- (BOOL)isExpired;
/**
* 销毁模板,释放内存
*/
- (void)destroyExpressView;
@end