BBASMAdEventDelegate.h
918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// BBASMAdEventDelegate.h
// BaiduMobAdSDK
//
// Created by lishan04 on 16/5/12.
// Copyright © 2016年 Baidu Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "BBASMInternalConstants.h"
@class BBASMAdH5Renderer;
@class BBASMInstance;
@protocol BBASMAdEventDelegate <NSObject>
@optional
- (void)onAdError:(BBASMAdH5Renderer *)render
withAdInstance:(BBASMInstance *)adInstance
reason:(BBASMAdFailReason)reason
withDictionary:(NSDictionary *)dict;
- (void)onAdClicked:(BBASMAdH5Renderer *)render
withAdInstance:(BBASMInstance *)adInstance
withDictionary:(NSDictionary *)dict;
- (void)onAdFinish:(BBASMAdH5Renderer *)render
withAdInstance:(BBASMInstance *)adInstance
withDictionary:(NSDictionary *)dict;
/**
* @brief 在用户点击完广告条出现全屏广告页面以后,用户关闭全屏广告时的回调
*/
- (void)onAdDismissLp;
@end