Interface Info |
|---|
public interface AdViewStrategy 广告位匹配策略。 |
Qualifier and Type | Method Name and Description |
|---|---|
boolean | isSizeValid(int expectedHeight, int expectedWidth, int height, int width) 广告位宽高与传入素材宽高是否适配。 |
Method |
|---|
public boolean isSizeValid(int expectedHeight, int expectedWidth, int height, int width) 广告位宽高与传入素材宽高是否适配。 |
Parameters
Name | Description |
|---|---|
expectedHeight | 广告位的高度,单位:px。 |
expectedWidth | 广告位的宽度,单位:px。 |
height | 传入素材的高度,单位:px。 |
width | 传入素材的宽度,单位:px。 |
Returns
Type | Description |
|---|---|
boolean | 素材尺寸是否匹配:
|