public enum AssetType extends Enum<AssetType>
Java class for Asset.Type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Asset.Type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="TEXT"/>
<enumeration value="IMAGE"/>
<enumeration value="YOUTUBE_VIDEO"/>
<enumeration value="MEDIA_BUNDLE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
IMAGE
Image asset
|
MEDIA_BUNDLE
Media bundle asset
|
TEXT
Text asset
|
UNKNOWN
Used for return value only.
|
YOUTUBE_VIDEO
YouTube video asset
|
| Modifier and Type | Method and Description |
|---|---|
static AssetType |
fromValue(String v) |
String |
value() |
static AssetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetType UNKNOWN
public static final AssetType TEXT
public static final AssetType IMAGE
public static final AssetType YOUTUBE_VIDEO
public static final AssetType MEDIA_BUNDLE
public static AssetType[] values()
for (AssetType c : AssetType.values()) System.out.println(c);
public static AssetType 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()
Copyright © 2023. All rights reserved.