GroupMediaEventSink class abstract

媒体事件回调

Constructors

GroupMediaEventSink()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
onDisconnect(int reason) → void
与服务器连接中断
onError(int code) → void
音视频组件运行时错误
onRemoteAudioVolumeIndication(List<NEAudioVolumeInfo?> volumes, int totalVolume) → void
远端用户音量回调
onUserAudioMute(int uid, bool muted) → void
远端用户音频静音状态变更
onUserAudioStart(int uid) → void
远端用户开启音频
onUserAudioStop(int uid) → void
远端用户关闭音频
onUserVideoMute(int uid, bool muted) → void
远端用户视频静音状态变更
onUserVideoStart(int uid, int maxProfile) → void
远端用户开启视频
onUserVideoStop(int uid) → void
远端用户关闭视频
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

setup(GroupMediaEventSink? api, {BinaryMessenger? binaryMessenger}) → void

Constants

codec → const MessageCodec<Object?>