Package com.theoplayer.android.api.ads
Interface NonLinearAd
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.ads.Ad
public interface NonLinearAd implements Ad
The NonLinearAd API represents a non-linear ad in the VAST specification.
-
-
Method Summary
Modifier and Type Method Description abstract String
getClickThrough()
The website of the advertiser. abstract String
getResourceURI()
The URI of the the ad content. -
Methods inherited from class com.theoplayer.android.api.ads.Ad
getAdBreak, getCompanions, getCustomData, getCustomIntegration, getId, getIntegration, getSkipOffset, getType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getClickThrough
@NonNull() abstract String getClickThrough()
The website of the advertiser.
- Only supported for StaticResource.
Default: Empty string.
- Returns:
The website of the advertiser. (NonNull)
-
getResourceURI
@NonNull() abstract String getResourceURI()
The URI of the the ad content.
Default: Empty string.
- Returns:
The ad's content URI. (NonNull)
-
-
-
-