Class Info |
|---|
public abstract class InstreamAd Roll ad. |
Qualifier and Type | Class Name and Description |
|---|---|
abstract String | Obtains the ad source. |
abstract String | Obtains the text to be displayed on a button. |
abstract long | Obtains the duration of a roll ad. |
abstract String | Obtains the redirection link to Why this ad. |
abstract String | Obtains a flag indicating whether a task is an ad task. |
abstract boolean | Checks whether an ad has been clicked. |
abstract boolean | Checks whether an ad has expired. |
abstract boolean | Checks whether an ad is an image ad. |
abstract boolean | isShown() Checks whether an ad has been displayed. |
abstract boolean | Checks whether an ad is a video ad. |
Method |
|---|
public abstract String getAdSource() Obtains the ad source. |
Returns
Type | Description |
|---|---|
String | Ad source. |
Method |
|---|
public abstract String getCallToAction() Obtains the text to be displayed on a button. |
Returns
Type | Description |
|---|---|
String | Text to be displayed on a button. |
Method |
|---|
public abstract long getDuration() Obtains the duration of a roll ad. |
Returns
Type | Description |
|---|---|
long | Duration of a roll ad, in milliseconds. |
Method |
|---|
public abstract String getWhyThisAd() Obtains the redirection link to Why this ad. |
Returns
Type | Description |
|---|---|
String | Redirection link to Why this ad. |
Method |
|---|
public abstract String getAdSign() Obtains a flag indicating whether a task is an ad task. |
Returns
Type | Description |
|---|---|
String | Indicates whether a task is an ad task.
The default value is 1. |
Method |
|---|
public abstract boolean isClicked() Checks whether an ad has been clicked. |
Returns
Type | Description |
|---|---|
boolean |
|
Method |
|---|
public abstract boolean isExpired() Checks whether an ad has expired. |
Returns
Type | Description |
|---|---|
boolean |
|
Method |
|---|
public abstract boolean isImageAd() Checks whether an ad is an image ad. |
Returns
Type | Description |
|---|---|
boolean |
|