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_FRACTION of the frame content will be shown.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Inherited properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.