public class AdColonyZone
extends java.lang.Object
AdColony.getZone(String)
.
Object will be incomplete (information will not be valid) if AdColony has not been configured.Modifier and Type | Field and Description |
---|---|
static int |
BANNER
1 An integer constant representing a display zone type.
|
static int |
INTERSTITIAL
0 An integer constant representing an interstitial zone type.
|
static int |
NATIVE
2 An integer constant representing an native zone type.
|
Modifier and Type | Method and Description |
---|---|
int |
getPlayFrequency()
Used to retrieve the play frequency for this zone (i.e.
|
int |
getRemainingViewsUntilReward()
Used to retrieve the remaining number of ads that must be watched before a reward is given.
|
int |
getRewardAmount()
Used to retrieve the reward amount tied to each reward event.
|
java.lang.String |
getRewardName()
Used to retrieve the name of the reward currency as defined on this zone's page on our
dashboard.
|
int |
getViewsPerReward()
Used to retrieve the number of ad views necessary for a reward.
|
java.lang.String |
getZoneID()
Used to retrieve the zone id tied to this object.
|
int |
getZoneType()
Used to retrieve the type of zone
|
boolean |
isRewarded()
Used to retrieve information on whether or not this zone has rewards enabled.
|
boolean |
isValid()
Used to retrieve information on whether or not this zone is valid.
|
public static final int INTERSTITIAL
public static final int BANNER
public static final int NATIVE
public java.lang.String getZoneID()
public int getRemainingViewsUntilReward()
public int getRewardAmount()
public java.lang.String getRewardName()
public int getViewsPerReward()
public int getZoneType()
public boolean isValid()
public boolean isRewarded()
public int getPlayFrequency()
AdColonyInterstitial.show()
method must be called to display an interstitial from this
zone).