TRTCSnapshotSourceType enum
Data Source of Local Video Screenshot
The SDK can take screenshots from the following two data sources and save them as local files:
-
Video Stream:
- The SDK screencaptures the native video content from the video stream.
- The screenshots are not controlled by the display of the rendering control.
-
Rendering Layer:
- The SDK screencaptures the displayed video content from the rendering control, which can achieve the effect of WYSIWYG (What You See Is What You Get).
- However, if the display area is too small, the screenshots will also be very small.
Values
- stream → const TRTCSnapshotSourceType
-
- The SDK screencaptures the native video content from the video stream. The screenshots are not controlled by the display of the rendering control.
- view → const TRTCSnapshotSourceType
-
- The SDK screencaptures the displayed video content from the rendering control, which can achieve the effect of WYSIWYG, but if the display area is too small, the screenshots will also be very small.
- capture → const TRTCSnapshotSourceType
-
- The SDK screencaptures the capture video content from the capture control, which can capture the captured high-definition screenshots.
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<
TRTCSnapshotSourceType> - A constant List of the values in this enum, in order of their declaration.