Class Info |
|---|
public class CreativeMatchStrategy 广告创意匹配策略。 |
Qualifier and Type | Class Name and Description |
|---|---|
static enum | CreativeMatchStrategy 广告创意匹配策略枚举类。 |
Constructor Name |
|---|
CreativeMatchStrategy(CreativeMatchType creativeMatchType ) 广告创意匹配策略。 |
CreativeMatchStrategy(CreativeMatchType creativeMatchType, Integer expectedCreativeWidth, Integer expectedCreativeHeight) 广告创意匹配策略。 |
Qualifier and Type | Method Name and Description |
|---|---|
CreativeMatchStrategy.CreativeMatchType | 获取广告创意匹配策略。 |
int | 获取期望的广告创意的高度。 |
int | 获取期望的广告创意的宽度。 |
void | setExpectedCreativeHeight(int expectedCreativeHeight) 设置期望的广告创意的高度。 |
Constructor |
|---|
public CreativeMatchStrategy(CreativeMatchType creativeMatchType ) 广告创意匹配策略。 |
Parameters
Name | Description |
|---|---|
creativeMatchType | 广告创意匹配策略。 |
Constructor |
|---|
public CreativeMatchStrategy(CreativeMatchType creativeMatchType, Integer expectedCreativeWidth, Integer expectedCreativeHeight) 广告创意匹配策略。 |
Parameters
Name | Description |
|---|---|
creativeMatchType | 广告创意匹配策略。 |
expectedCreativeWidth | 期望设定的广告创意宽度,单位:px。 |
expectedCreativeHeight | 期望设定的广告创意高度,单位:px。 |
Method |
|---|
public CreativeMatchStrategy.CreativeMatchType getCreativeMatchType() 获取广告创意匹配策略。 |
Returns
Type | Description |
|---|---|
CreativeMatchStrategy.CreativeMatchType | 广告创意匹配策略。 |
Method |
|---|
public int getExpectedCreativeHeight() 获取期望的广告创意的高度。 |
Returns
Type | Description |
|---|---|
int | 期望的广告创意的高度,单位:px。 |