コード例 #1
0
 static MessagelogAPI()
 {
     QuerySingleLogCompleted       = new QuerySingleLogDelegate(OnQuerySingleLogCompleted);
     QueryLogCompleted             = new QueryMessageLogDelegate(OnQuerylogCompleted);
     OperateMsglogByObjIdCompleted = new OperateMsglogByObjectIdDelegate(OnOperateMsglogByObjIdCompleted);
     OperateMsglogByLogIdCompleted = new OperateMsglogByLogIdDelegate(OnOperateMsglogByLogIdCompleted);
     NormalOperationCompleted      = new OperateMsglogCommonDelegate(OnNormalOperationCompleted);
 }
コード例 #2
0
 static MessagelogAPI()
 {
     QuerySingleLogCompleted       = OnQuerySingleLogCompleted;
     QueryLogCompleted             = OnQuerylogCompleted;
     OperateMsglogByObjIdCompleted = OnOperateMsglogByObjIdCompleted;
     OperateMsglogByLogIdCompleted = OnOperateMsglogByLogIdCompleted;
     NormalOperationCompleted      = OnNormalOperationCompleted;
     OnMsglogStatusChanged         = MsglogChangedCallback;
     OnGlobalMsglogStatusChanged   = GlobalMsglogStatusChangedCallback;
     OnUpdateLocalExtCompleted     = UpdateLocalExtCallback;
 }
コード例 #3
0
 internal static extern void nim_msglog_batch_status_read_async([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(NimUtility.Utf8StringMarshaler))] string account_id, NIMSessionType to_type, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(NimUtility.Utf8StringMarshaler))] string json_extension, OperateMsglogByObjectIdDelegate cb, IntPtr user_data);
コード例 #4
0
 internal static extern void nim_msglog_delete_by_session_type_async(bool delete_sessions, NIMSessionType to_type, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(NimUtility.Utf8StringMarshaler))] string json_extension, OperateMsglogByObjectIdDelegate cb, IntPtr user_data);