public enum ScalableType extends Enum<ScalableType>
Java class for ScalableType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ScalableType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="NOT_SCALABLE"/>
<enumeration value="RATIO_SCALABLE"/>
<enumeration value="STRETCH_SCALABLE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
NOT_SCALABLE
The creative should not be scaled.
|
RATIO_SCALABLE
The creative can be scaled and its aspect-ratio must be maintained.
|
STRETCH_SCALABLE
The creative can be scaled and its aspect-ratio can be distorted.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API
version.
|
| Modifier and Type | Method and Description |
|---|---|
static ScalableType |
fromValue(String v) |
String |
value() |
static ScalableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScalableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScalableType UNKNOWN
public static final ScalableType NOT_SCALABLE
public static final ScalableType RATIO_SCALABLE
public static final ScalableType STRETCH_SCALABLE
public static ScalableType[] values()
for (ScalableType c : ScalableType.values()) System.out.println(c);
public static ScalableType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ScalableType fromValue(String v)
Copyright © 2018. All Rights Reserved.