V2TIMSignalingManager class Null safety Manager
Provide signaling APIs
addSignalingListenerAdd the signaling listener
removeSignalingListenerRemove the signaling listener
inviteinvite someone
inviteInGroupInvite someone in the group
cancelThe inviter cancels the invitation
acceptThe recipient accepts the invitation
rejectThe recipient declined the invitation
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
accept(
{required String inviteID, String? data}) → Future< V2TimCallback> -
addInvitedSignaling(
{required V2TimSignalingInfo info}) → Future< V2TimCallback> -
addSignalingListener(
{required V2TimSignalingListener listener}) → Future< void> - Add the signaling listener
-
cancel(
{required String inviteID, String? data}) → Future< V2TimCallback> -
getSignalingInfo(
{required String msgID}) → Future< V2TimValueCallback< V2TimSignalingInfo> > - Get signaling information [...]
-
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 non-existent method or property is accessed. [...]
inherited
-
reject(
{required String inviteID, String? data}) → Future< V2TimCallback> -
removeSignalingListener(
{V2TimSignalingListener? listener}) → Future< void> - Remove the signaling listener
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited