视频显示模式。
Constants
-
Adaptive → const VideoRenderMode
Deprecated 该模式已废弃。
@JsonValue(3)
const VideoRenderMode(2)
-
FILL → const VideoRenderMode
视频尺寸进行缩放和拉伸以充满显示视窗。
@JsonValue(4)
const VideoRenderMode(3)
-
Fit → const VideoRenderMode
视频尺寸等比缩放。优先保证视频内容全部显示。因视频尺寸与显示视窗尺寸不一致造成的视窗未被填满的区域填充黑色。
@JsonValue(2)
const VideoRenderMode(1)
-
Hidden → const VideoRenderMode
视频尺寸等比缩放。优先保证视窗被填满。因视频尺寸与显示视窗尺寸不一致而多出的视频将被截掉。
@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
-
The hash code for this object. [...]read-only, inherited
-
index → int
The integer index of this enum.final
-
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
-
Returns a string representation of this object.
override
Operators
-
operator ==(Object other) → bool
The equality operator. [...]
inherited