AlivcPusherPreviewDisplayMode enum
预览显示模式
preview_scale_fill 铺满窗口,视频比例和窗口比例不一致时预览会有变形
preview_aspect_fit 保持视频比例,视频比例和窗口比例不一致时有黑边
preview_aspect_fill 剪切视频以适配窗口比例,视频比例和窗口比例不一致时会裁剪视频
Values
- preview_scale_fill → const AlivcPusherPreviewDisplayMode
- preview_aspect_fit → const AlivcPusherPreviewDisplayMode
- preview_aspect_fill → const AlivcPusherPreviewDisplayMode
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<
AlivcPusherPreviewDisplayMode> - A constant List of the values in this enum, in order of their declaration.