TRTCImageBuffer class

TRTC 屏幕分享图标信息以及 mute image 垫片

Constructors

TRTCImageBuffer({Uint8List? buffer, int? length, int? width, int? height})
TRTCImageBuffer.fromJson(Map<String, dynamic> json)
解析JSON的相应结构
factory

Properties

buffer Uint8List?
图像存储的内容,一般为 BGRA 结构。
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int?
图像的高度。
getter/setter pair
length int?
图像数据的大小。
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int?
图像的宽度。
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
将当前对象转换为 JSON 格式。
toString() String
A string representation of this object.
inherited

Operators

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