CustomRender class Null safety

Parameters of remote video rendering with external texture

Constructors

CustomRender({required String userId, bool? isFront, required bool isLocal, required int streamType, required int width, required int height})

Properties

hashCode int
The hash code for this object.
read-only, inherited
height int
Displayed video height
read / write
isFront bool?
Whether it is the front camera
read / write
isLocal bool
Whether it is the local user
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
streamType int
Only TRTCCloudDef.TRTC_VIDEO_STREAM_TYPE_BIG and TRTCCloudDef.TRTC_VIDEO_STREAM_TYPE_SUB are supported.
read / write
userId String
User ID
read / write
width int
Displayed video width
read / write

Methods

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

Operators

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