AgoraImage class

Image properties. This class sets the properties of the watermark and background images in the live video.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AgoraImage(String url, {int? x, int? y, int? width, int? height})
Constructs the AgoraImage.

Properties

hashCode int
The hash code for this object.
no setterinherited
height int?
The height (pixel) of the image on the video frame.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
The HTTP/HTTPS URL address of the image in the live video. The maximum length of this parameter is 1024 bytes.
getter/setter pair
width int?
The width (pixel) of the image on the video frame.
getter/setter pair
x int?
The x coordinate (pixel) of the image on the video frame (taking the upper left corner of the video frame as the origin).
getter/setter pair
y int?
The y coordinate (pixel) of the image on the video frame (taking the upper left corner of the video frame as the origin).
getter/setter pair

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