public static enum VideoAsset.VideoType extends Enum<VideoAsset.VideoType>
Enum Constant and Description |
---|
hires
used on all platforms (very high bandwidth)
|
mobile
used for the iPhone (low bandwidth)
|
unknown |
webm
used for desktop browsers
|
wifi
used for the iPhone (high bandwidth)
|
Modifier and Type | Method and Description |
---|---|
String |
getMime() |
int |
getPriority() |
String |
getSubType() |
static VideoAsset.VideoType |
getVideoType(String subType) |
static VideoAsset.VideoType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VideoAsset.VideoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoAsset.VideoType unknown
public static final VideoAsset.VideoType mobile
public static final VideoAsset.VideoType wifi
public static final VideoAsset.VideoType webm
public static final VideoAsset.VideoType hires
public static VideoAsset.VideoType[] values()
for (VideoAsset.VideoType c : VideoAsset.VideoType.values()) System.out.println(c);
public static VideoAsset.VideoType 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 getSubType()
public String getMime()
public int getPriority()
public static VideoAsset.VideoType getVideoType(String subType)
Copyright © 2014 Equilibrium. All rights reserved.