TRTCVideoFillMode enum

TRTC 视频视图显示模式的枚举,包括填充模式和适应模式

Inheritance

Constructors

TRTCVideoFillMode()
const

Values

TRTCVideoFillMode_Fill → const TRTCVideoFillMode

填充模式:视频图像将居中并缩放以填充整个显示区域,超出区域的部分将被裁剪。此模式下显示的图像可能不完整。

TRTCVideoFillMode_Fit → const TRTCVideoFillMode

适应模式:视频图像将根据长边缩放以适应显示区域,短边将用黑边填充。此模式下显示的图像是完整的,但可能会有黑边。

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<TRTCVideoFillMode>
A constant List of the values in this enum, in order of their declaration.