RtcGroupEventHandler class
Callback of RtcGroupManager, the callbacks must to set to RtcGroupManager to get events notification.
RtcGroupManager 的回调函数,在使用 RtcGroupManager 之前必须要设置回调以获取事件通知。
Constructors
- RtcGroupEventHandler({GroupResultCallback? onGroupJoinConfirm, GroupResultCallback? onGroupLeaveIndication, GroupUserCallback? onGroupInviteIndication, GroupResultCallback? onGroupDismissConfirm, GroupUserJoinIndicationCallback? onGroupUserJoinIndication, OnGroupUserLeaveIndication? onGroupUserLeaveIndication, GroupIdCallback? onGroupDefaultUpdateIndication, GroupResultCallback? onGroupObserveConfirm})
- Constructs a RtcGroupEventHandler
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onGroupDefaultUpdateIndication ↔ GroupIdCallback?
-
Notification of default group update.
Parameter
groupId
The default group ID.getter/setter pair - onGroupDismissConfirm ↔ GroupResultCallback?
-
Notification of group dismiss result.
Parameter
groupId
The group ID. Parameterresult
The result of group dismiss.getter/setter pair - onGroupInviteIndication ↔ GroupUserCallback?
-
Notification of group user inviting.
Parameter
groupId
The group ID. ParameteruserId
The user who sent the invite.getter/setter pair - onGroupJoinConfirm ↔ GroupResultCallback?
-
Notification of group join result.
Parameter
groupId
The group ID. Parameterresult
The result of group joining.getter/setter pair - onGroupLeaveIndication ↔ GroupResultCallback?
-
Notification of group leaving indication.
Parameter
groupId
The group ID. Parameterresult
The reason of group leaving.getter/setter pair - onGroupObserveConfirm ↔ GroupResultCallback?
-
Notification of group event observe result.
Parameter
groupId
The group ID. Parameterresult
The result of group event observation.getter/setter pair - onGroupUserJoinIndication ↔ GroupUserJoinIndicationCallback?
-
Notification of group user joining.
Parameter
groupId
The group ID. ParameteruserInfo
The information of the group member.getter/setter pair - onGroupUserLeaveIndication ↔ OnGroupUserLeaveIndication?
-
Notification of group user leaving.
Parameter
groupId
The group ID. ParameteruserId
The user ID. Parameterreason
The reason of user leaving.getter/setter pair - 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