Package com.adcolony.sdk
Class AdColonyAdViewActivity
- java.lang.Object
-
- Activity
-
- com.adcolony.sdk.AdColonyAdViewActivity
-
public class AdColonyAdViewActivity extends ActivityThe fullscreen Activity used to display expanded AdColonyAdViews
-
-
Constructor Summary
Constructors Constructor Description AdColonyAdViewActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonBackPressed()Overridden onBackPressed method used to alert the container's module (which can then decide what the appropriate action to take is).voidonConfigurationChanged(Configuration newConfig)Overridden callback used to alert the container's module of orientation changesvoidonCreate(Bundle bundle)voidonDestroy()voidonPause()voidonResume()voidonWindowFocusChanged(boolean hasFocus)Overridden onWindowFocusChanged method.
-
-
-
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
-
-