admin
2022-09-04 fa05f89529e05078b29606e4beda3de5cfdce485
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
//
//  BUAdClientBiddingProtocol.h
//  Pods
//
//  Created by bytedance on 2021/9/14.
//
 
#import <Foundation/Foundation.h>
 
@protocol BUAdClientBiddingProtocol <NSObject>
 
@optional
 
/// invoke this method to set this actual auction price 调用此方法设置当前实际结算价
/// @param auctionPrice auction price 实际结算价格
- (void)setPrice:(nullable NSNumber *)auctionPrice;
 
/// invoke this method when the bidding  succeeds (strongly recommended)  当竞价成功调用此方法(强烈推荐)
/// @param auctionBidToWin the seccond place bidder's price 竞价方第二名的价格
- (void)win:(nullable NSNumber*)auctionBidToWin;
 
/// invoke this method when the bidding  fails (strongly recommended)  当竞价失败调用此方法(强烈推荐)
/// @param auctionPrice auction price  竞价
/// @param lossReason Reasons for failed bidding 失败的原因
/// @param winBidder Who won the bid 谁赢了竞价
- (void)loss:(nullable NSNumber*)auctionPrice lossReason:(nullable NSString*)lossReason winBidder:(nullable NSString*)winBidder;
 
@end