public static enum AliDisplayView.DisplayViewType extends java.lang.Enum<AliDisplayView.DisplayViewType>
Enum Constant and Description |
---|
Either
In either case, the appropriate view will be created according to the specific content
|
SurfaceView
SurfaceView
|
TextureView
TextureView
|
Modifier and Type | Method and Description |
---|---|
static AliDisplayView.DisplayViewType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AliDisplayView.DisplayViewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AliDisplayView.DisplayViewType Either
public static final AliDisplayView.DisplayViewType SurfaceView
public static final AliDisplayView.DisplayViewType TextureView
public static AliDisplayView.DisplayViewType[] values()
for (AliDisplayView.DisplayViewType c : AliDisplayView.DisplayViewType.values()) System.out.println(c);
public static AliDisplayView.DisplayViewType 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 null