-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum VideoScalingType extends Enum<VideoScalingType>
Types of video scaling: SCALE_ASPECT_FIT - video frame is scaled to fit the size of the view by maintaining the aspect ratio (black borders may be displayed).
SCALE_ASPECT_FILL - video frame is scaled to fill the size of the view by maintaining the aspect ratio. Some portion of the video frame may be clipped.
SCALE_ASPECT_BALANCED - Compromise between FIT and FILL. Video frame will fill as much as possible of the view while maintaining aspect ratio, under the constraint that at least
BALANCED_VISIBLE_FRACTIONof the frame content will be shown.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SCALE_ASPECT_BALANCEDSCALE_ASPECT_FILLSCALE_ASPECT_FIT
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-