Class AdColonyAdViewActivity


  • public class AdColonyAdViewActivity
    extends Activity
    The fullscreen Activity used to display expanded AdColonyAdViews
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onBackPressed()
      Overridden onBackPressed method used to alert the container's module (which can then decide what the appropriate action to take is).
      void onConfigurationChanged​(Configuration newConfig)
      Overridden callback used to alert the container's module of orientation changes
      void onCreate​(Bundle bundle)
      void onDestroy()
      void onPause()
      void onResume()
      void onWindowFocusChanged​(boolean hasFocus)
      Overridden onWindowFocusChanged method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AdColonyAdViewActivity

        public AdColonyAdViewActivity()
    • Method Detail

      • onCreate

        public void onCreate​(Bundle bundle)
      • onBackPressed

        public void onBackPressed()
        Overridden onBackPressed method used to alert the container's module (which can then decide what the appropriate action to take is).
      • onPause

        public void onPause()
      • onResume

        public void onResume()
      • onWindowFocusChanged

        public void onWindowFocusChanged​(boolean hasFocus)
        Overridden onWindowFocusChanged method. Used to pause/resume the video in cases where we lose window focus but the Activity is still active. onPause/onResume still also explicitly pause and resume the video as this callback isn't completely reliable.
      • onDestroy

        public void onDestroy()
      • onConfigurationChanged

        public void onConfigurationChanged​(Configuration newConfig)
        Overridden callback used to alert the container's module of orientation changes