Interface TheoAdsIntegration
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.Integration,com.theoplayer.android.api.event.EventDispatcher
public interface TheoAdsIntegration implements Integration, EventDispatcher<TheoAdsEvent<?>>
Integration for server-guide ad insertion using THEOads.
Use TheoAdsIntegrationFactory.createTheoAdsIntegration to create this integration.
Use Player.addIntegration to attach this integration to the player.
-
-
Method Summary
Modifier and Type Method Description abstract UnitreplaceAdTagParameters(Map<String, String> adTagParameters)Replaces all of the ad tag parameters used for upcoming ad requests for a live stream. abstract List<Interstitial>getCurrentInterstitials()The currently playing interstitials. abstract List<Interstitial>getScheduledInterstitials()List of interstitials which still need to be played. -
Methods inherited from class com.theoplayer.android.api.Integration
getType -
Methods inherited from class com.theoplayer.android.api.event.EventDispatcher
addEventListener, removeEventListener -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
replaceAdTagParameters
abstract Unit replaceAdTagParameters(Map<String, String> adTagParameters)
Replaces all of the ad tag parameters used for upcoming ad requests for a live stream.
If set, this value overrides any parameters set on the TheoAdDescription.adTagParameters.
-
getCurrentInterstitials
abstract List<Interstitial> getCurrentInterstitials()
The currently playing interstitials.
-
getScheduledInterstitials
abstract List<Interstitial> getScheduledInterstitials()
List of interstitials which still need to be played.
-
-
-
-