TRTCImageBuffer class

TRTC screen sharing icon information and mute image shim

Constructors

TRTCImageBuffer({Uint8List? buffer, int? length, int? width, int? height})
TRTCImageBuffer.fromJson(Map<String, dynamic> json)
Parse the corresponding structure from Json
factory

Properties

buffer Uint8List?
The content of image storage is generally a BGRA structure.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int?
The height of the image.
getter/setter pair
length int?
The size of the image data.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int?
The width of the image.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert the current object to JSON.
toString() String
A string representation of this object.
inherited

Operators

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