Package com.amazonaws.ivs.broadcast
Enum BroadcastConfiguration.AspectMode
- java.lang.Object
- 
- java.lang.Enum<BroadcastConfiguration.AspectMode>
- 
- com.amazonaws.ivs.broadcast.BroadcastConfiguration.AspectMode
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<BroadcastConfiguration.AspectMode>
 - Enclosing class:
- BroadcastConfiguration
 
 public static enum BroadcastConfiguration.AspectMode extends java.lang.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.
- 
- 
Field SummaryFields Modifier and Type Field Description intvalue
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static BroadcastConfiguration.AspectModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BroadcastConfiguration.AspectMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NONEpublic static final BroadcastConfiguration.AspectMode NONE 
 - 
FITpublic static final BroadcastConfiguration.AspectMode FIT 
 - 
FILLpublic static final BroadcastConfiguration.AspectMode FILL 
 
- 
 - 
Method Detail- 
valuespublic static BroadcastConfiguration.AspectMode[] 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 (BroadcastConfiguration.AspectMode c : BroadcastConfiguration.AspectMode.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static BroadcastConfiguration.AspectMode 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 name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-