RTCEventHandler class
Constructors
- RTCEventHandler({void onError(ErrorCodeType err, String msg)?, VoidCallback? onJoinChannelSuccess, VoidCallback? onLeaveChannel, void onUserJoined(int remoteUid)?, void onUserLeaved(int userId)?, void onUserMuteVideo(int remoteUid, bool muted)?, void onUserMuteAudio(int remoteUid, bool muted)?, void onFirstRemoteVideoDecoded(int remoteUid, int width, int height)?, void onRemoteVideoStateChanged(int remoteUid, RemoteVideoState state, RemoteVideoStateReason reason)?, void onActiveSpeaker(int uid)?})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onActiveSpeaker → void Function(int uid)?
-
final
- onError → void Function(ErrorCodeType err, String msg)?
-
final
- onFirstRemoteVideoDecoded → void Function(int remoteUid, int width, int height)?
-
final
- onJoinChannelSuccess → VoidCallback?
-
final
- onLeaveChannel → VoidCallback?
-
final
- onRemoteVideoStateChanged → void Function(int remoteUid, RemoteVideoState state, RemoteVideoStateReason reason)?
-
final
- onUserJoined → void Function(int remoteUid)?
-
final
- onUserLeaved → void Function(int userId)?
-
final
- onUserMuteAudio → void Function(int remoteUid, bool muted)?
-
final
- onUserMuteVideo → void Function(int remoteUid, bool muted)?
-
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