AgoraImage class

Agora 图像属性。用于设置直播视频的水印和背景图片的属性。

Annotations

Constructors

AgoraImage(String url, int x, int y, int width, int height)
Constructs a AgoraImage
AgoraImage.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height int
图片在视频帧上的高度。
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
url String
直播视频上图片的 HTTP/HTTPS 地址,字符长度不得超过 1024 字节。
final
width int
图片在视频帧上的宽度。
final
x int
图片左上角在视频帧上的横轴坐标。
final
y int
图片左上角在视频帧上的纵轴坐标。
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
Returns a string representation of this object.
inherited

Operators

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