TRTCVideoFillMode enum

Enumeration of TRTC video view display modes, including fill mode and adaptation mode

Inheritance

Constructors

TRTCVideoFillMode()
const

Values

TRTCVideoFillMode_Fill → const TRTCVideoFillMode

Fill mode: the video image will be centered and scaled to fill the entire display area, where parts that exceed the area will be cropped. The displayed image may be incomplete in this mode.

TRTCVideoFillMode_Fit → const TRTCVideoFillMode

Fit mode: the video image will be scaled based on its long side to fit the display area, where the short side will be filled with black bars. The displayed image is complete in this mode, but there may be black bars.

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.
[TRTCVideoFillMode_Fill, TRTCVideoFillMode_Fit]