VideoScalingType

VideoScalingType describes the scaling type of how video is rendered. Certain types may effect how much of a video is cropped. visibleFraction refers to the minimum amount of a video frame required to be shown per scaling type (e.g. AspectFit indicates showing the whole frame, no cropping).

Entries

Link copied to clipboard

Fit the frame to the surrounding view to avoid any cropping.

Link copied to clipboard

Attempt to avoid cropping seen using AspectFill while showing more of the image then AspectFit; this may crop if the aspect ratios do not match.

Link copied to clipboard

Fill the surrounding view; this may crop if the aspect ratios do not match.

Properties

Link copied to clipboard

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

Link copied to clipboard
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.