ViewFit

The different ways to fit the video in its parent view

Entries

Link copied to clipboard

The video is resized to be contained in its parent view

Link copied to clipboard

The video is resized to fit its parent view width. The height is adjusted to keep the aspect ratio.

Link copied to clipboard

The video is resized to fit its parent view height. The width is adjusted to keep the aspect ratio.

Link copied to clipboard

The video is resized to fill its parent view. Aspect ratio is not preserved.

Link copied to clipboard

The video is resized to fill its parent view. Aspect ratio is preserved.

Types

Link copied to clipboard
object Companion

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
val value: Int

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.