SyRtcEventHandler class

SY RTC事件处理器

Constructors

SyRtcEventHandler({void onUserJoined(String uid, int elapsed)?, void onUserOffline(String uid, String reason)?, void onVolumeIndication(List<Map<String, dynamic>> speakers)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onUserJoined → void Function(String uid, int elapsed)?
用户加入回调
final
onUserOffline → void Function(String uid, String reason)?
用户离开回调
final
onVolumeIndication → void Function(List<Map<String, dynamic>> speakers)?
音量指示回调
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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