Class Info |
|---|
public static class InstreamAdLoader.Builder 贴片广告加载器的构造器。 |
Qualifier and Type | Class Name and Description |
|---|---|
build() 构造InstreamAdLoader对象。 | |
InstreamAdLoader.Builder | setInstreamAdLoadListener(InstreamAdLoadListener adLoadListener) 设置贴片广告加载监听器。 |
InstreamAdLoader.Builder | setMaxCount(int maxCount) 设置贴片广告最大数量。 |
InstreamAdLoader.Builder | setTotalDuration(int totalDuration) 设置贴片广告最大时长。 |
Constructor |
|---|
public Builder(Context context, String adId) 生成贴片广告加载器构造方法。 |
Parameters
Name | Description |
|---|---|
context | 上下文。 |
adId | 广告位ID。 |
Method |
|---|
public InstreamAdLoader build() 构建InstreamAdLoader对象。 |
Returns
Type | Description |
|---|---|
贴片广告加载器。 |
Method |
|---|
public InstreamAdLoader.Builder setInstreamAdLoadListener(InstreamAdLoadListener adLoadListener) 设置贴片广告加载监听器。 |
Parameters
Name | Description |
|---|---|
adLoadListener | 贴片广告加载监听器。 |
Returns
Type | Description |
|---|---|
InstreamAdLoader.Builder | 当前对象。 |