Package com.amazonaws.ivs.broadcast
Enum Class BroadcastConfiguration.AspectMode
java.lang.Object
java.lang.Enum<BroadcastConfiguration.AspectMode>
com.amazonaws.ivs.broadcast.BroadcastConfiguration.AspectMode
- All Implemented Interfaces:
Serializable
,Comparable<BroadcastConfiguration.AspectMode>
,Constable
- Enclosing class:
- BroadcastConfiguration
public static enum BroadcastConfiguration.AspectMode
extends Enum<BroadcastConfiguration.AspectMode>
The AspectMode determines how an image's aspect ratio will be maintained.
NONE will simply fill the bounding area with the image, disregarding the aspect ratio.
FIT will fit the entire image within the bounding area while maintaining the correct aspect ratio.
in practice this means that there will be letterboxing or pillarboxing.
FILL will fill the bounding area with the image while maintaining the aspect ratio.
in practice this means that the image will likely be cropped.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BroadcastConfiguration.AspectMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
FIT
-
FILL
-
-
Field Details
-
value
public final int value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-