|
| OoyalaIMAManager (OoyalaPlayer ooyalaPlayer) |
| Initialize the Ooyala IMA Manager, which will play back all IMA ads affiliated with any playing Ooyala asset. More...
|
|
| OoyalaIMAManager (OoyalaPlayer ooyalaPlayer, ViewGroup l) |
| Initialize the Ooyala IMA Manager, which will play back all IMA ads affiliated with any playing Ooyala asset. More...
|
|
| OoyalaIMAManager (OoyalaPlayer ooyalaPlayer, OoyalaIMAConfiguration config) |
| Initialize the Ooyala IMA Manager, which will play back all IMA ads affiliated with any playing Ooyala asset. More...
|
|
| OoyalaIMAManager (OoyalaPlayer ooyalaPlayer, ViewGroup l, OoyalaIMAConfiguration config) |
| Initialize the Ooyala IMA Manager, which will play back all IMA ads affiliated with any playing Ooyala asset. More...
|
|
void | onAdError (AdErrorEvent event) |
|
void | onAdsManagerLoaded (AdsManagerLoadedEvent event) |
|
void | onAdEvent (AdEvent event) |
|
void | addCompanionSlot (ViewGroup companionAdView, int width, int height) |
| Specify a list of views that the IMA Manager can use to show companion ads. More...
|
|
void | setAdTagParameters (Map< String, String > adTagParameters) |
| Specify a map of Ad Tag parameters that will be appended to the ad tag This will not override already set parameters. More...
|
|
void | setAdUrlOverride (String url) |
| Manually load an IMA Vast URL to initialize the IMA Manager. More...
|
|
boolean | onInitialPlay () |
|
boolean | onContentChanged () |
| Return true if there is a URL to load. More...
|
|
boolean | onPlayheadUpdate (int playhead) |
| For Ad-Rules, always return false since we only play ads when IMA SDK sends notification. More...
|
|
boolean | onContentFinished () |
|
boolean | onCuePoint (int cuePointIndex) |
| Always return false for IMA Ads since we only play ads when IMA SDK sends notification. More...
|
|
boolean | onContentError (int errorCode) |
| Fire a IMAAdErrorCallback to IMA SDK. More...
|
|
void | onAdModeEntered () |
| Load current IMA ad if no ad loaded and a IMA ad tag url is available. More...
|
|
void | suspend () |
| Suspend ads playback. More...
|
|
void | suspend (boolean onlyRemoveView) |
| This is called when plugin should be suspended. More...
|
|
void | resume () |
| Resume suspended ads playback. More...
|
|
void | resume (int timeInMilliSecond, State stateToResume) |
| Resume from given time with given state, but does not work for IMA Ads Playback. More...
|
|
void | destroy () |
| Destroy IMAAdsManager and all related fields. More...
|
|
void | configurationChanged (Configuration newConfig) |
| This method is called when the device configuration changes while your component is running. More...
|
|
void | destroyPlayer () |
|
PlayerInterface | getPlayerInterface () |
|
void | resetAds () |
| Reset all IMA Ads Playback related fields and restart ads Playback. More...
|
|
void | skipAd () |
| Skip current ad playback. More...
|
|
void | reset () |
| Reset all IMA Ads Playback related fields and restart ads Playback. More...
|
|
Set< Integer > | getCuePointsInMilliSeconds () |
| Fetch cue points for current ad tag url. More...
|
|
void | processClickThrough () |
| This is called to process click through. More...
|
|
void | onAdIconClicked (int index) |
| This is called when an icon is clicked. More...
|
|
boolean | allADSPlayed () |
|
void | setOnAdEventListener (IMAAdEventListener imaAdEventListener) |
| Expose AdEventListener for integration with MOAT. More...
|
|
void | setOnAdErrorListener (IMAAdErrorListener imaAdErrorListener) |
| Expose AdErrorListener for integration with MOAT. More...
|
|
void | setAdsLoadedListener (IMAAdsLoadedListener imaAdsLoadedListener) |
| Expose AdsLoadedListener for integration with MOAT. More...
|
|
void | setContainerUpdatedListener (IMAContainerUpdatedListener imaContainerUpdatedListener) |
| Expose AdDisplayContainer for integration with MOAT. More...
|
|
The OoyalaIMAManager works with OoyalaPlayer to manage IMA ads playback.
It also provides methods configure IMA ads playback, including companion ad slot and custom ad tag url.
The OoyalaIMAManager will play back all IMA ads affiliated with any playing Ooyala asset. This will automatically be configured, as long as the VAST URL is properly configured in Third Module Metadata.
The OoyalaIMAManager works most completely with an OptimizedOoyalaPlayerLayoutController. If you do not use this layout controller, you will not see IMA's "Learn More" button when in fullscreen mode.
The OoyalaIMAManager assumes that either there will be only a single Ad-Rules Ad Tag, or any number of Non Ad-Rules Ad Tags. No combination of the two.