public class AdSettings extends java.lang.Object implements AdSettingsInterface
Integer
Integer
AdDimension
Integer
Integer
Constructor and Description |
---|
AdSettings() |
Modifier and Type | Method and Description |
---|---|
AdDimension |
getAdDimension()
Returns the value of parameter AdDimension.
|
long |
getAdspaceId()
Returns the value of parameter AdspaceId.
|
AdType |
getAdType()
Deprecated.
|
int |
getBannerHeight()
Get the banner height.
|
int |
getBannerWidth()
Get the banner width.
|
java.lang.String |
getNativeSupport() |
long |
getPublisherId()
return the value of parameter PublisherId.
|
boolean |
isDimensionStrict()
Get the dimension strict value.
|
boolean |
isFormatStrict()
Give the status of format strict.
|
boolean |
isHttpsOnly() |
void |
setAdDimension(AdDimension adDimension)
Sets the value of parameter AdDimension to adDimension.
|
void |
setAdspaceId(long adspaceId)
Sets the value of parameter AdspaceId to adspaceId.
|
void |
setAdType(AdType adType)
Sets the value of parameter AdType to adType.
|
void |
setBannerHeight(int mbannerHeight)
Set the banner height.
|
void |
setBannerWidth(int mbannerWidth)
Set the banner width.
|
void |
setDimensionStrict(boolean dimensionStrict)
Set the dimension strict.
|
void |
setFormatStrict(boolean formatStrict)
Assigns the given value to field
. |
void |
setHttpsOnly(boolean httpsOnly) |
void |
setNativeSupport(java.lang.String nativeSupport) |
void |
setPublisherId(long publisherId)
Sets the value of parameter PublisherId to publisherId.
|
public boolean isHttpsOnly()
public void setHttpsOnly(boolean httpsOnly)
public final long getPublisherId()
getPublisherId
in interface AdSettingsInterface
Integer
public final void setPublisherId(long publisherId)
setPublisherId
in interface AdSettingsInterface
public final long getAdspaceId()
getAdspaceId
in interface AdSettingsInterface
public final void setAdspaceId(long adspaceId)
setAdspaceId
in interface AdSettingsInterface
@Deprecated public final AdType getAdType()
getAdType
in interface AdSettingsInterface
public final void setAdType(AdType adType)
setAdType
in interface AdSettingsInterface
public final AdDimension getAdDimension()
getAdDimension
in interface AdSettingsInterface
public final void setAdDimension(AdDimension adDimension)
setAdDimension
in interface AdSettingsInterface
public int getBannerWidth()
getBannerWidth
in interface AdSettingsInterface
public void setBannerWidth(int mbannerWidth)
setBannerWidth
in interface AdSettingsInterface
public int getBannerHeight()
getBannerHeight
in interface AdSettingsInterface
public void setBannerHeight(int mbannerHeight)
setBannerHeight
in interface AdSettingsInterface
public boolean isDimensionStrict()
true
when dimensionstrict is set, false otherwise.public void setDimensionStrict(boolean dimensionStrict)
dimensionStrict
- true
when a specific dimension is needed,
false
otherwise.public boolean isFormatStrict()
true
if enabled, false
otherwise.public void setFormatStrict(boolean formatStrict)
formatStrict
.formatStrict
- the formatStrict to be set.public void setNativeSupport(java.lang.String nativeSupport)
nativeSupport
- public java.lang.String getNativeSupport()