Class StretchMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<StretchMode>
com.azure.resourcemanager.mediaservices.models.StretchMode
The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StretchMode
Static value AutoFit for StretchMode.static final StretchMode
Static value AutoSize for StretchMode.static final StretchMode
Static value None for StretchMode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StretchMode
fromString
(String name) Creates or finds a StretchMode from its string representation.static Collection<StretchMode>
values()
Gets known StretchMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NONE
Static value None for StretchMode. -
AUTO_SIZE
Static value AutoSize for StretchMode. -
AUTO_FIT
Static value AutoFit for StretchMode.
-
-
Constructor Details
-
StretchMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of StretchMode value.
-
-
Method Details
-
fromString
Creates or finds a StretchMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding StretchMode.
-
values
Gets known StretchMode values.- Returns:
- known StretchMode values.
-
fromString(String)
factory method.