Package com.alivc.live.pusher
Enum AlivcFpsEnum
- java.lang.Object
-
- java.lang.Enum<AlivcFpsEnum>
-
- com.alivc.live.pusher.AlivcFpsEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AlivcFpsEnum>
public enum AlivcFpsEnum extends java.lang.Enum<AlivcFpsEnum>
视频采集帧率
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFps()
static AlivcFpsEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AlivcFpsEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FPS_8
public static final AlivcFpsEnum FPS_8
fps = 8
-
FPS_10
public static final AlivcFpsEnum FPS_10
fps = 10
-
FPS_12
public static final AlivcFpsEnum FPS_12
fps = 12
-
FPS_15
public static final AlivcFpsEnum FPS_15
fps = 15
-
FPS_20
public static final AlivcFpsEnum FPS_20
fps = 20
-
FPS_25
public static final AlivcFpsEnum FPS_25
fps = 25
-
FPS_30
public static final AlivcFpsEnum FPS_30
fps = 30
-
-
Method Detail
-
values
public static AlivcFpsEnum[] 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 (AlivcFpsEnum c : AlivcFpsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlivcFpsEnum 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
-
getFps
public int getFps()
-
-