mergemilitary/Assets/Plugins/ToukaGames/ToponSDK/baidu/BaiduMobAdSDK.framework/Headers/BaiduMobAdExpressFullScreen...

105 lines
2.4 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.

//
// BaiduMobAdExpressFullScreenVideo.h
// BaiduMobAdSDK
//
// Created by Sun,Mingzhe on 2020/9/29.
// Copyright © 2020 Baidu Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "BaiduMobAdExpressFullScreenVideoDelegate.h"
@interface BaiduMobAdExpressFullScreenVideo : NSObject
/**
* 委托对象
*/
@property (nonatomic, weak) id <BaiduMobAdExpressFullScreenVideoDelegate> delegate;
/**
* 应用的APPID
*/
@property (nonatomic, copy) NSString *publisherId;
/**
* 设置/获取代码位(广告位)id
*/
@property (nonatomic, copy) NSString *AdUnitTag;
/**
* 启动位置信息 如果enableplist 需要增加NSLocationWhenInUseUsageDescription
*/
@property (nonatomic, assign) BOOL enableLocation;
/**
* 广告类型请在request请求之前赋值
*/
@property (nonatomic, assign) BaiduMobAdType adType;
/**
* 设置底价过滤支持客户端与服务端bidding配置
* 仅支持整数值,单位:分
*/
@property (nonatomic, assign) int bidFloor;
/**
* 预加载视频广告,并缓存物料信息到本地。
* 注意广告的展示存在有效期,单次检索后须在一定时间内展示在页面上
*/
- (void)load;
/**
* 全屏视频广告的展示存在有效期,单次检索后须在一定时间内展示在页面上
* 返回本地是否有可用广告 YES代表本地有缓存成功且未过期的广告NO代表不可用
*/
- (BOOL)isReady;
/**
* 展示全屏视频默认RootViewController present
* 默认使用本地缓存,本地缓存失效则在线请求
*/
- (void)show;
/**
* 展示全屏视频使用controller present
* 默认使用本地缓存,本地缓存失效则在线请求
*/
- (void)showFromViewController:(UIViewController *)controller;
/**
* 广告价格标签
*/
- (NSString *)getECPMLevel;
/**
* 反馈竞价成功及二价
* @param secondPrice 第二价格
*/
- (void)biddingSuccess:(NSString *)secondPrice;
/**
* 反馈竞价失败及原因
* @param reason 失败原因
*/
- (void)biddingFail:(NSString *)reason;
/**
* 获取Bidding token
* @return 媒体ADX请求广告所需的token
*/
- (NSString *)getBiddingToken;
/**
* 请求bidding广告
* @param bidId 媒体传入竞价成功的广告id
*/
- (void)loadBiddingAd:(NSString *)bidId;
#pragma mark - DEPRECATED_ATTRIBUTE
- (void)setBiddingData:(NSString *)data BaiduMobAdDEPRECATED_MSG("已废弃请接入最新的服务端bidding渲染方式");
@end