public enum SmartSizeMode extends Enum<SmartSizeMode>
Java class for SmartSizeMode.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SmartSizeMode">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="NONE"/>
<enumeration value="SMART_BANNER"/>
<enumeration value="DYNAMIC_SIZE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DYNAMIC_SIZE
Height and width are ranges.
|
NONE
Fixed size mode (default).
|
SMART_BANNER
The height is fixed for the request, the width is a range.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested
API version.
|
| Modifier and Type | Method and Description |
|---|---|
static SmartSizeMode |
fromValue(String v) |
String |
value() |
static SmartSizeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmartSizeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmartSizeMode UNKNOWN
public static final SmartSizeMode NONE
public static final SmartSizeMode SMART_BANNER
public static final SmartSizeMode DYNAMIC_SIZE
public static SmartSizeMode[] values()
for (SmartSizeMode c : SmartSizeMode.values()) System.out.println(c);
public static SmartSizeMode 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 SmartSizeMode fromValue(String v)
Copyright © 2018. All Rights Reserved.