VideoScalingType

Enumeration used to control how video frames are render to occupy Android view available space on screen.

Entries

Link copied to clipboard

Video frame is scaled to fit the size of the view while maintaining the aspect ratio. Transparent borders may be displayed.

Link copied to clipboard

Video frame is scaled to fill the size of the view while maintaining the aspect ratio. Some portion of the video frame may be clipped.

Link copied to clipboard

Compromise between ASPECT_FIT and ASPECT_FILL. Video frame will fill as much of the view as possible while maintaining aspect ratio, as long as at least 56% of the frame content will be shown.

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.

Properties

Link copied to clipboard
Link copied to clipboard