com.annahid.libs.artenus.unified
AdPlacementListener
Interface for classes that listen to ad placement events. Ad-driven games implement this
interface to adjust game content according the size of ad units.
public interface AdPlacementListener
Method Summary
Modifier and Type | Method and Description |
---|---|
public void | onAdVisibilityChange(boolean visible) Called when the ad unit changes state from hidden to visible, or vice versa. |
public void | onHeightChange(int height) Called when the height of the ad unit changes. |
Method Detail
onAdVisibilityChange | ||
---|---|---|
public void onAdVisibilityChange( boolean visible ) Called when the ad unit changes state from hidden to visible, or vice versa. Parameters:
|
onHeightChange | ||
---|---|---|
public void onHeightChange( int height ) Called when the height of the ad unit changes. This includes when it virtually becomes 0 as a
result of hiding. Parameters:
|