AgoraRtmChannel class
Constructors
- AgoraRtmChannel(int _clientIndex, String _channelId)
Properties
- channelId → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onAttributesUpdated
↔ (void Function(List<
RtmChannelAttribute> attributeList)?) -
Occurs when channel attribute updated.
getter/setter pair
- onError ↔ (void Function(dynamic error)?)
-
Occurs when you receive error events.
getter/setter pair
- onMemberCountUpdated ↔ (void Function(int memberCount)?)
-
Occurs when channel member count updated.
getter/setter pair
- onMemberJoined ↔ (void Function(RtmChannelMember member)?)
-
Occurs when a user joins the channel.
getter/setter pair
- onMemberLeft ↔ (void Function(RtmChannelMember member)?)
-
Occurs when a channel member leaves the channel.
getter/setter pair
- onMessageReceived ↔ (void Function(RtmMessage message, RtmChannelMember fromMember)?)
-
Occurs when receiving a channel message.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getId(
) → String -
getMembers(
) → Future< List< RtmChannelMember> > -
join(
) → Future< void> -
leave(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → Future< void> -
sendMessage(
RtmMessage message, [bool? offline, bool? historical]) → Future< void> - sendMessage2
-
sendMessage2(
RtmMessage message, [SendMessageOptions? options]) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited