Class VideoView

java.lang.Object
BaseAdView
org.prebid.mobile.api.rendering.VideoView

public class VideoView extends BaseAdView
Internal video player view for displaying banner video ads.
  • Constructor Details

    • VideoView

      protected VideoView(android.content.Context context) throws AdException
      Throws:
      AdException
    • VideoView

      public VideoView(android.content.Context context, AdUnitConfiguration adUnitConfiguration) throws AdException
      Throws:
      AdException
  • Method Details

    • loadAd

      public void loadAd(AdUnitConfiguration adConfiguration, String vastXml)
    • destroy

      public void destroy()
    • mute

      public void mute(boolean enabled)
    • setVideoViewListener

      public void setVideoViewListener(VideoViewListener listener)
    • setVideoPlayerClick

      public void setVideoPlayerClick(boolean enable)
    • setAutoPlay

      public void setAutoPlay(boolean enable)
    • pause

      public void pause()
    • resume

      public void resume()
    • play

      public void play()
    • init

      protected void init() throws AdException
      Throws:
      AdException
    • handleBroadcastAction

      protected void handleBroadcastAction(String action)
    • setAdViewManagerValues

      protected void setAdViewManagerValues() throws AdException
      Throws:
      AdException
    • handleWindowFocusChange

      protected void handleWindowFocusChange(boolean hasWindowFocus)
    • notifyErrorListeners

      public void notifyErrorListeners(AdException adException)