Пример #1
0
 public MessagingService()
 {
     _msgCallback = new MessageListenerEventHandler(set_message_listener_callback_delegate.set_message_listener_call_back);
     _exceptionCallback = new ExceptionListenerEventHandler(exception_listener_callback_delegate.exception_listener_call_back);
     _sendCallBack = new PublishAckListenerEventHandler(send_message_callback_delegate.send_message_call_back);
     _connectAckCallBack = new ConnectAckListenerEventHandler(connect_ack_callback_delegate.connect_call_back);
     _sendImgMsgCallBack = new PublishAckListenerEventHandler(send_message_callback_delegate.send_message_call_back);
     _createDiscussionCallback = new CreateDiscussionListenerEventHandler(create_invite_discussion_callback_delegate.create_invite_discussion_call_back);
     _disInfoCallback = new DiscussionInfoListenerEventHandler(discussion_info_callback_delegate.discussion_info_call_back);
 }
Пример #2
0
 public static extern void SearchPublicServiceProfile(string targetId, int businessType, int searchType, PublishAckListenerEventHandler callback);
Пример #3
0
 public static extern void RemoveNotificationQuietHours(PublishAckListenerEventHandler callback);
Пример #4
0
 public static extern void SetNotificationQuietHours(string startTime, int spanMins, PublishAckListenerEventHandler callback);
Пример #5
0
 public static extern void RemoveFromBlacklist(string userId, PublishAckListenerEventHandler callback);
Пример #6
0
 public static extern void QuitChatRoom(string targetId, int categoryId, PublishAckListenerEventHandler callback);
Пример #7
0
 public static extern void JoinExistingChatRoom(string targetId, int categoryId, int count, PublishAckListenerEventHandler callback);
Пример #8
0
 public static extern void SubscribePublicService(string targetId, int categoryId, bool subscribe, PublishAckListenerEventHandler callback);
Пример #9
0
 public static extern void QuitGroup(RcTargetEntry[] groupIds, int idCount, PublishAckListenerEventHandler callback);
Пример #10
0
 public static extern void SetDiscussionInviteStatus(string discussionId, int inviteStatus, PublishAckListenerEventHandler callback);
Пример #11
0
 public static extern void RenameDiscussion(string discussionId, string discussionName, PublishAckListenerEventHandler callback);
Пример #12
0
 public static extern void RemoveMemberFromDiscussion(string discussionId, string userId, PublishAckListenerEventHandler callback);
Пример #13
0
 public static extern void AddMemberToDiscussion(string discussionId, RcTargetEntry[] userIds, int idCount, PublishAckListenerEventHandler callback);
Пример #14
0
 public static extern void QuitDiscussion(string discussionId, PublishAckListenerEventHandler callback);
Пример #15
0
 public static extern void SetUserData(string ext, PublishAckListenerEventHandler callback);
Пример #16
0
 public static extern void JoinChatRoom(string targetId, int categoryId, int count, PublishAckListenerEventHandler callback,bool flag = false);
Пример #17
0
 public static extern void sendMessage(string targetId, int categoryId, int transferType, string clazzname, [MarshalAs(UnmanagedType.LPWStr)] string message, string push, string appData, int messageId, PublishAckListenerEventHandler callback);