Enum StreamInfo.StreamingType
- java.lang.Object
-
- java.lang.Enum<StreamInfo.StreamingType>
-
- com.amazonaws.kinesisvideo.producer.StreamInfo.StreamingType
-
- All Implemented Interfaces:
Serializable,Comparable<StreamInfo.StreamingType>
- Enclosing class:
- StreamInfo
public static enum StreamInfo.StreamingType extends Enum<StreamInfo.StreamingType>
Streaming types that must correspond to the native counterparts
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STREAMING_TYPE_NEAR_REALTIMENear-realtime mode for predefined latencySTREAMING_TYPE_OFFLINEOffline upload modeSTREAMING_TYPE_REALTIMERealtime mode for minimal latency
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIntValue()static StreamInfo.StreamingTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StreamInfo.StreamingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STREAMING_TYPE_REALTIME
public static final StreamInfo.StreamingType STREAMING_TYPE_REALTIME
Realtime mode for minimal latency
-
STREAMING_TYPE_NEAR_REALTIME
public static final StreamInfo.StreamingType STREAMING_TYPE_NEAR_REALTIME
Near-realtime mode for predefined latency
-
STREAMING_TYPE_OFFLINE
public static final StreamInfo.StreamingType STREAMING_TYPE_OFFLINE
Offline upload mode
-
-
Method Detail
-
values
public static StreamInfo.StreamingType[] 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 (StreamInfo.StreamingType c : StreamInfo.StreamingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamInfo.StreamingType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getIntValue
public int getIntValue()
-
-