NEWaitingRoomController class abstract
等候室功能控制器
- Inheritance
-
- Object
- NERoomBaseController
- NEWaitingRoomController
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSupported → bool
-
功能是否支持
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAttachment(
Object key, dynamic attachment) → void -
inherited
-
addListener(
NEWaitingRoomListener listener) → void - 添加等候室事件监听器 [listener 监听器
-
admitAllMembers(
) → Future< VoidResult> - 准入当前等候室中的所有成员
-
admitMember(
String userUuid, {bool autoAdmit}) → Future< VoidResult> -
准入当前等候室中的指定成员
userUuid
用户唯一Id -
changeMemberName(
String userUuid, String name) → Future< VoidResult> -
修改等候室用户昵称
userUuid
用户唯一Idname
昵称 -
clearAttachments(
) → void -
inherited
-
disableWaitingRoomOnEntry(
[bool admitAll]) → Future< VoidResult> -
关闭房间等候室。
admitAll
是否准入当前等候室中的所有成员 -
enableWaitingRoomOnEntry(
) → Future< VoidResult> - 开启房间等候室。开启后,后续成员进入房间时,会先进入等候室
-
ensureAttachment<
T> (Object key) → T -
inherited
-
expelAllMembers(
{bool disallowRejoin}) → Future< VoidResult> -
移除当前等候室中的所有成员
disallowRejoin
移除后是否禁止再次加入此房间。如果为true,则用户不允许再次该房间 -
expelMember(
String userUuid, {bool disallowRejoin}) → Future< VoidResult> -
移除当前等候室中的指定成员
userUuid
用户唯一IddisallowRejoin
移除后是否禁止再次加入此房间。如果为true,则用户不允许再次该房间 -
getAttachment<
T> (Object key) → T? -
inherited
-
getHostAndCoHostList(
) → Future< NEResult< List< >NEWaitingRoomHost> > - 获取主持人信息
-
getMemberList(
int joinTime, int size, bool asc) → Future< NEResult< List< >NEWaitingRoomMember> > -
获取当前等候室中加入时间大于或小于
joinTime
的成员列表,最大返回数量为size
。 如果成员数量小于size
,则返回所有成员。joinTime
起始时间戳,第一次传0size
每次获取的数量asc
是否升序。如果为true,则获取加入时间大于joinTime
的成员列表;如果为false,则获取加入时间小于joinTime
的成员列表 -
getWaitingRoomInfo(
) → NEWaitingRoomInfo - 获取当前等候室信息
-
isWaitingRoomEnabledOnEntry(
) → bool - 当前房间是否开启了等候室
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
putInWaitingRoom(
String userUuid) → Future< VoidResult> - 将当前房间中的指定成员移至等候室 [userUuid 用户唯一Id
-
removeAttachment(
Object key) → void -
inherited
-
removeListener(
NEWaitingRoomListener listener) → void - 移除等候室事件监听器 [listener 监听器
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited