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
29
30
31
32
33
34
35
36
37
38
39
40
//
//  BUDislike.h
//  BUAdSDK
//
//  Copyright © 2018年 bytedance. All rights reserved.
//
 
#import "BUInterfaceBaseObject.h"
@class BUNativeAd;
@class BUDislikeWords;
 
/**
 !!! important :
 Please report to the sdk the user’s selection, inaccurate model will result in poor ad performance.
 */
 __attribute__((objc_subclassing_restricted))
@interface BUDislike : BUInterfaceBaseObject
/**
 The array of BUDislikeWords which have reasons for dislike.
 The application can show the secondary page for dislike if '[filterWords.options count] > 0'.
 */
@property (nonatomic, copy, readonly) NSArray<BUDislikeWords *> *filterWords;
 
/**
 Initialize with nativeAd to get filterWords.
 return BUDislike
 */
- (instancetype)initWithNativeAd:(BUNativeAd *)nativeAd;
 
/**
 Call this method after the user chose dislike reasons.
 (Only for object which uses 'BUDislike.filterWords')
 @param filterWord : reasons for dislike
 @note : don't need to call this method if '[filterWords.options count] > 0'.
 @note :please dont't change 'BUDislike.filterWords'.
        'filterWord' must be one of 'BUDislike.filterWords', otherwise it will be filtered.
 */
- (void)didSelectedFilterWordWithReason:(BUDislikeWords *)filterWord;
 
@end