Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public static extern void SearchPublicServiceProfile(string targetId, int businessType, int searchType, PublishAckListenerEventHandler callback);
Ejemplo n.º 3
0
 public static extern void RemoveNotificationQuietHours(PublishAckListenerEventHandler callback);
Ejemplo n.º 4
0
 public static extern void SetNotificationQuietHours(string startTime, int spanMins, PublishAckListenerEventHandler callback);
Ejemplo n.º 5
0
 public static extern void RemoveFromBlacklist(string userId, PublishAckListenerEventHandler callback);
Ejemplo n.º 6
0
 public static extern void QuitChatRoom(string targetId, int categoryId, PublishAckListenerEventHandler callback);
Ejemplo n.º 7
0
 public static extern void JoinExistingChatRoom(string targetId, int categoryId, int count, PublishAckListenerEventHandler callback);
Ejemplo n.º 8
0
 public static extern void SubscribePublicService(string targetId, int categoryId, bool subscribe, PublishAckListenerEventHandler callback);
Ejemplo n.º 9
0
 public static extern void QuitGroup(RcTargetEntry[] groupIds, int idCount, PublishAckListenerEventHandler callback);
Ejemplo n.º 10
0
 public static extern void SetDiscussionInviteStatus(string discussionId, int inviteStatus, PublishAckListenerEventHandler callback);
Ejemplo n.º 11
0
 public static extern void RenameDiscussion(string discussionId, string discussionName, PublishAckListenerEventHandler callback);
Ejemplo n.º 12
0
 public static extern void RemoveMemberFromDiscussion(string discussionId, string userId, PublishAckListenerEventHandler callback);
Ejemplo n.º 13
0
 public static extern void AddMemberToDiscussion(string discussionId, RcTargetEntry[] userIds, int idCount, PublishAckListenerEventHandler callback);
Ejemplo n.º 14
0
 public static extern void QuitDiscussion(string discussionId, PublishAckListenerEventHandler callback);
Ejemplo n.º 15
0
 public static extern void SetUserData(string ext, PublishAckListenerEventHandler callback);
Ejemplo n.º 16
0
 public static extern void JoinChatRoom(string targetId, int categoryId, int count, PublishAckListenerEventHandler callback,bool flag = false);
Ejemplo n.º 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);