NERtcVideoScalingModeEnum enum
@if English @enum NERtcVideoScalingMode Set the video scaling mode. @endif @if Chinese @enum NERtcVideoScalingMode 设置视频缩放模式。 @endif
Values
- kNERtcVideoScaleFit → const NERtcVideoScalingModeEnum
-
@if English 0: adaptive to the video. The video size is scaled proportionally. All video content is prioritized for display. If the video size does not match the display window size, the unfilled area of the window is be filled with the background color. @endif @if Chinese 0:适应视频,视频尺寸等比缩放。优先保证视频内容全部显示。若视频尺寸与显示视窗尺寸不一致,视窗未被填满的区域填充背景色。 @endif
- kNERtcVideoScaleFullFill → const NERtcVideoScalingModeEnum
-
@if English 1: The video size is scaled non-proportionally. Ensure that all video content is displayed and the window is filled. @endif @if Chinese 1:视频尺寸非等比缩放。保证视频内容全部显示,且填满视窗。 @endif
- kNERtcVideoScaleCropFill → const NERtcVideoScalingModeEnum
-
@if English 2: adaptive to the area. The video size is scaled proportionally. Ensure that all areas are filled, and the extra part of the video will be cropped. @endif @if Chinese 2:适应区域,视频尺寸等比缩放。保证所有区域被填满,视频超出部分会被裁剪。 @endif
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
NERtcVideoScalingModeEnum> - A constant List of the values in this enum, in order of their declaration.