AgoraRtmChannelEventHandler class

Constructors

AgoraRtmChannelEventHandler({dynamic onError(dynamic error)?, dynamic onMessageReceived(RtmMessage message, RtmChannelMember fromMember)?, dynamic onMemberJoined(RtmChannelMember member)?, dynamic onMemberLeft(RtmChannelMember member)?, dynamic onAttributesUpdated(List<RtmChannelAttribute> attributes)?, dynamic onMemberCountUpdated(int count)?})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onAttributesUpdated → dynamic Function(List<RtmChannelAttribute> attributes)?
Occurs when channel attribute updated.
final
onError → dynamic Function(dynamic error)?
Occurs when you receive error events.
final
onMemberCountUpdated → dynamic Function(int count)?
Occurs when channel member count updated.
final
onMemberJoined → dynamic Function(RtmChannelMember member)?
Occurs when a user joins the channel.
final
onMemberLeft → dynamic Function(RtmChannelMember member)?
Occurs when a channel member leaves the channel.
final
onMessageReceived → dynamic Function(RtmMessage message, RtmChannelMember fromMember)?
Occurs when receiving a channel message.
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