public enum AlivcLivePushCameraTypeEnum extends java.lang.Enum<AlivcLivePushCameraTypeEnum>
Enum Constant and Description |
---|
CAMERA_TYPE_BACK
后置摄像头
|
CAMERA_TYPE_FRONT
前置摄像头
|
Modifier and Type | Method and Description |
---|---|
int |
getCameraId()
获取枚举值
|
static AlivcLivePushCameraTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlivcLivePushCameraTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlivcLivePushCameraTypeEnum CAMERA_TYPE_BACK
public static final AlivcLivePushCameraTypeEnum CAMERA_TYPE_FRONT
public static AlivcLivePushCameraTypeEnum[] values()
for (AlivcLivePushCameraTypeEnum c : AlivcLivePushCameraTypeEnum.values()) System.out.println(c);
public static AlivcLivePushCameraTypeEnum 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 int getCameraId()