V2TIMSignalingManager class Manager

提供了信令操作相关接口

addSignalingListener添加信令监听

removeSignalingListener移除信令监听

invite邀请某个人

inviteInGroup邀请群内的某些人

cancel邀请方取消邀请

accept接收方接收邀请

reject接收方拒绝邀请

Constructors

V2TIMSignalingManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accept({required String inviteID, String? data}) Future<V2TimCallback>
addInvitedSignaling({required V2TimSignalingInfo info}) Future<V2TimCallback>
addSignalingListener({required V2TimSignalingListener listener}) Future<void>
添加信令监听
cancel({required String inviteID, String? data}) Future<V2TimCallback>
getSignalingInfo({required String msgID}) Future<V2TimValueCallback<V2TimSignalingInfo>>
获取信令信息
invite({required String invitee, required String data, int timeout = 30, bool onlineUserOnly = false, OfflinePushInfo? offlinePushInfo}) Future<V2TimValueCallback<String>>
inviteInGroup({required String groupID, required List<String> inviteeList, required String data, int timeout = 30, bool onlineUserOnly = false}) Future<V2TimValueCallback<String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reject({required String inviteID, String? data}) Future<V2TimCallback>
removeSignalingListener({V2TimSignalingListener? listener}) Future<void>
移除信令监听
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited