Class Info |
|---|
public abstract class InstreamAd 贴片广告。 |
Qualifier and Type | Class Name and Description |
|---|---|
abstract String | 获取广告来源。 |
abstract String | 获取按钮显示的动作说明。 |
abstract long | 获取贴片广告展示时长。 |
abstract String | 获取为什么显示此广告跳转链接。 |
abstract String | 标识本任务是否是广告。 |
abstract boolean | 广告是否被点击过。 |
abstract boolean | 广告是否过期。 |
abstract boolean | 广告是否是图片广告。 |
abstract boolean | isShown() 广告是否展示过。 |
abstract boolean | 广告是否是视频广告。 |
Method |
|---|
public abstract String getAdSource() 获取广告来源。 |
Returns
Type | Description |
|---|---|
String | 广告来源。 |
Method |
|---|
public abstract String getCallToAction() 获取按钮显示的动作说明。 |
Returns
Type | Description |
|---|---|
String | 点击跳转动作说明。 |
Method |
|---|
public abstract long getDuration() 获取贴片广告展示时长。 |
Returns
Type | Description |
|---|---|
long | 贴片展示时长,单位:毫秒。 |
Method |
|---|
public abstract String getWhyThisAd() 获取“为什么显示此广告”跳转链接。 |
Returns
Type | Description |
|---|---|
String | “为什么显示此广告”跳转链接。 |
Method |
|---|
public abstract String getAdSign() 标识本任务是否为广告。 |
Returns
Type | Description |
|---|---|
String | 本任务的标识:
默认值为1。 |
Method |
|---|
public abstract boolean isClicked() 广告是否被点击过。 |
Returns
Type | Description |
|---|---|
boolean |
|
Method |
|---|
public abstract boolean isExpired() 广告是否过期。 |
Returns
Type | Description |
|---|---|
boolean |
|
Method |
|---|
public abstract boolean isImageAd() 广告是否是图片广告。 |
Returns
Type | Description |
|---|---|
boolean |
|