コード例 #1
0
        static void OnTIMConvEventCallback(TIMConvEvent conv_event, string json_msg_arry, IntPtr ptr)
        {
            List <ConvInfo> convs = null;

            if (TIMConvEventHandler != null)
            {
                if (!string.IsNullOrWhiteSpace(json_msg_arry))
                {
                    convs = JsonConvert.DeserializeObject <List <ConvInfo> >(json_msg_arry);
                }
                TIMConvEventHandler.Invoke(null, new TIMConvEventArgs(conv_event, convs));
            }
        }
コード例 #2
0
 public static void ConvEventCallback(TIMConvEvent conv_event, string conv_list, string user_data)
 {
     addStringDataToConsole("ConvEventCallback called " + "user_data :" + conv_list);
 }
コード例 #3
0
 public TIMConvEventArgs(TIMConvEvent conv_event, List <ConvInfo> conv_arry)
 {
     Conv_Event = conv_event;
     Conv_Arry  = conv_arry;
 }