public static enum Storefront.MediaContentType extends java.lang.Enum<Storefront.MediaContentType>
| Enum Constant and Description |
|---|
EXTERNAL_VIDEO
An externally hosted video.
|
IMAGE
A Shopify hosted image.
|
MODEL_3D
A 3d model.
|
UNKNOWN_VALUE |
VIDEO
A Shopify hosted video.
|
| Modifier and Type | Method and Description |
|---|---|
static Storefront.MediaContentType |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.MediaContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.MediaContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.MediaContentType EXTERNAL_VIDEO
public static final Storefront.MediaContentType IMAGE
public static final Storefront.MediaContentType MODEL_3D
public static final Storefront.MediaContentType VIDEO
public static final Storefront.MediaContentType UNKNOWN_VALUE
public static Storefront.MediaContentType[] values()
for (Storefront.MediaContentType c : Storefront.MediaContentType.values()) System.out.println(c);
public static Storefront.MediaContentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Storefront.MediaContentType fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.MediaContentType>