StatisticsEvent class

Event emitted in response to getStatistics, carrying RTP media statistics for a session as a JSON string (bytes/packets/jitter/loss). Used to track the data usage of an ongoing call.

Inheritance

Constructors

StatisticsEvent(int sessionId, String stat)

Properties

data Map<String, dynamic>?
Optional data associated with the event
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the event (e.g., "onRegisterSuccess", "onInviteConnected")
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId int
The session ID of the call.
final
stat String
RTP statistics as a JSON string, as delivered by the native SDK.
final
timestamp DateTime
Timestamp when the event was created
finalinherited

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