public class ExpandProperties
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
height |
boolean |
isModal |
java.lang.String |
url |
boolean |
useCustomClose |
Size |
webViewSize |
int |
width |
| Constructor and Description |
|---|
ExpandProperties()
Constructs a new instance with default parameters.
|
ExpandProperties(int width,
int height,
boolean useCustomClose,
boolean isModal,
java.lang.String url,
Size webViewSize)
Constructs a new instance with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEqual(ExpandProperties expandProperties)
Compares this instance with the specified object and indicates if they are equal.
|
java.lang.String |
toString() |
public int width
public int height
public boolean useCustomClose
public boolean isModal
public java.lang.String url
public Size webViewSize
public ExpandProperties()
public ExpandProperties(int width,
int height,
boolean useCustomClose,
boolean isModal,
java.lang.String url,
Size webViewSize)
width - width of creative, default is full screen width.height - height of creative, default is full screen height.useCustomClose - true Container will stop showing default close graphic and rely on ad creative's
custom close indicator.
false (default), container will display the default close graphic.isModal - true if the container is modal for the expanded ad.
false otherwise.url - The URL for the document to be displayed in a new overlay view.webViewSize - The size of default (first part) WebView.ExpandProperties()@NonNull public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isEqual(ExpandProperties expandProperties)
expandProperties - An instance of ExpandProperties to compare.true if the specified object is equal to this Object;
false otherwise.