public static enum EZConstants.EZPTZCommand extends java.lang.Enum<EZConstants.EZPTZCommand>
枚举常量和说明 |
---|
EZPTZCommandDown
向下旋转
|
EZPTZCommandLeft
向左旋转
|
EZPTZCommandRight
向右旋转
|
EZPTZCommandUp
向上旋转
|
EZPTZCommandZoomIn
镜头拉近
|
EZPTZCommandZoomOut
镜头拉远
|
限定符和类型 | 方法和说明 |
---|---|
int |
getCommand() |
static EZConstants.EZPTZCommand |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static EZConstants.EZPTZCommand[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final EZConstants.EZPTZCommand EZPTZCommandLeft
public static final EZConstants.EZPTZCommand EZPTZCommandRight
public static final EZConstants.EZPTZCommand EZPTZCommandUp
public static final EZConstants.EZPTZCommand EZPTZCommandDown
public static final EZConstants.EZPTZCommand EZPTZCommandZoomIn
public static final EZConstants.EZPTZCommand EZPTZCommandZoomOut
public static EZConstants.EZPTZCommand[] values()
for (EZConstants.EZPTZCommand c : EZConstants.EZPTZCommand.values()) System.out.println(c);
public static EZConstants.EZPTZCommand valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getCommand()