VideoRenderMode enum Null safety

Video display mode.

Constants

Adaptive → const VideoRenderMode

This mode is deprecated.

@JsonValue(3)
const VideoRenderMode(2)
FILL → const VideoRenderMode

The fill mode. In this mode, the SDK stretches or zooms the video to fill the display window.

@JsonValue(4)
const VideoRenderMode(3)
Fit → const VideoRenderMode

Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to the disparity in the aspect ratio are filled with black.

@JsonValue(2)
const VideoRenderMode(1)
Hidden → const VideoRenderMode

Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents.

@JsonValue(1)
const VideoRenderMode(0)
values → const List<VideoRenderMode>

A constant List of the values in this enum, in order of their declaration.

const List<VideoRenderMode>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited