Package com.alivc.live.pusher
Enum AlivcPreviewRotationEnum
- java.lang.Object
-
- java.lang.Enum<AlivcPreviewRotationEnum>
-
- com.alivc.live.pusher.AlivcPreviewRotationEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AlivcPreviewRotationEnum>
public enum AlivcPreviewRotationEnum extends java.lang.Enum<AlivcPreviewRotationEnum>
Created by pengshuang on 08/04/2018.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ROTATION_0
无旋转ROTATION_180
顺时针旋转180ROTATION_270
顺时针旋转270ROTATION_360
顺时针旋转360ROTATION_90
顺时针旋转90
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRotation()
static AlivcPreviewRotationEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AlivcPreviewRotationEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROTATION_0
public static final AlivcPreviewRotationEnum ROTATION_0
无旋转
-
ROTATION_90
public static final AlivcPreviewRotationEnum ROTATION_90
顺时针旋转90
-
ROTATION_180
public static final AlivcPreviewRotationEnum ROTATION_180
顺时针旋转180
-
ROTATION_270
public static final AlivcPreviewRotationEnum ROTATION_270
顺时针旋转270
-
ROTATION_360
public static final AlivcPreviewRotationEnum ROTATION_360
顺时针旋转360
-
-
Method Detail
-
values
public static AlivcPreviewRotationEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlivcPreviewRotationEnum c : AlivcPreviewRotationEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlivcPreviewRotationEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getRotation
public int getRotation()
-
-